bp_get_search_slug

  • apply_filters( 'bp_get_search_slug', BP_SEARCH_SLUG )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 725
      	echo bp_get_search_slug();
      }
      	/**
      	 * Return the search slug
      	 *
      	 * @package BuddyPress
      	 * @since 1.5
      	 */
      	function bp_get_search_slug() {
      		return apply_filters( 'bp_get_search_slug', BP_SEARCH_SLUG );
      	}
      
      /** is_() functions to determine the current page *****************************/
      
      /**
       * Checks to see whether the current page belongs to the specified component
       *
       * This function is designed to be generous, accepting several different kinds
       * of value for the $component parameter. It checks $component_name against:
       * - the component's root_slug, which matches the page slug in $bp->pages
      

Comments are closed.