bbp_topic_archive_slug

  • apply_filters( 'bbp_topic_archive_slug', get_option( '_bbp_topic_archive_slug', 'topics' ) )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbpress.php :: Trac Source Line: 378
      		// Other identifiers
      		$this->user_id            = apply_filters( 'bbp_user_id', 'bbp_user' );
      		$this->view_id            = apply_filters( 'bbp_view_id', 'bbp_view' );
      		$this->edit_id            = apply_filters( 'bbp_edit_id', 'edit'     );
      
      		/** Slugs *************************************************************/
      
      		// Root forum slug
      		$this->root_slug          = apply_filters( 'bbp_root_slug',          get_option( '_bbp_root_slug',          'forums' ) );
      		$this->topic_archive_slug = apply_filters( 'bbp_topic_archive_slug', get_option( '_bbp_topic_archive_slug', 'topics' ) );
      
      		// Should we include the root slug in front of component slugs
      		$prefix                   = !empty( $this->root_slug ) && get_option( '_bbp_include_root', true ) ? trailingslashit( $this->root_slug ) : '';
      
      		// Component slugs
      		$this->forum_slug         = apply_filters( 'bbp_forum_slug', $prefix . get_option( '_bbp_forum_slug', 'forum' ) );
      		$this->topic_slug         = apply_filters( 'bbp_topic_slug', $prefix . get_option( '_bbp_topic_slug', 'topic' ) );
      		$this->reply_slug         = apply_filters( 'bbp_reply_slug', $prefix . get_option( '_bbp_reply_slug', 'reply' ) );
      
      		// Taxonomy slugs
      

Comments are closed.