bbp_allowed_themes

  • apply_filters( 'bbp_allowed_themes', $themes )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-hooks.php :: Trac Source Line: 405
       * bundled themes show up and bypass this step.
       *
       * @since bbPress (r2944)
       *
       * @uses apply_filters() Calls 'bbp_allowed_themes' with the allowed themes list
       */
      function bbp_allowed_themes( $themes ) {
      	$themes['bbp-twentyten'] = 1;
      
      	return apply_filters( 'bbp_allowed_themes', $themes );
      }
      add_filter( 'allowed_themes', 'bbp_allowed_themes' );
      
      /** Admin *********************************************************************/
      
      if ( is_admin() ) {
      
      	/** Actions ***************************************************************/
      
      	add_action( 'bbp_init',          'bbp_admin'                   );
      

Comments are closed.