bbp_view_id

  • apply_filters( 'bbp_view_id', 'bbp_view' )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbpress.php :: Trac Source Line: 371
      		$this->closed_status_id   = apply_filters( 'bbp_closed_post_status',  'closed'  );
      		$this->orphan_status_id   = apply_filters( 'bbp_orphan_post_status',  'orphan'  );
      		$this->public_status_id   = apply_filters( 'bbp_public_post_status',  'publish' );
      		$this->private_status_id  = apply_filters( 'bbp_private_post_status', 'private' );
      		$this->hidden_status_id   = apply_filters( 'bbp_hidden_post_status',  'hidden'  );
      		$this->trash_status_id    = apply_filters( 'bbp_trash_post_status',   'trash'   );
      
      		// 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 ) : '';
      

Comments are closed.