bp_enqueue_assets_in_bp_pages_only

bp_enqueue_assets_in_bp_pages_only

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: buddypress.11.0.0

apply_filters('bp_enqueue_assets_in_bp_pages_only') is found 1 times:

  • /bp-core/bp-core-dependency.php line 519
    	 * @since 11.0.0
    	 *
    	 * @param bool $value False to carry on loading BP Assets "everywhere". True otherwise.
    	 */
    	$bp_pages_only = apply_filters( 'bp_enqueue_assets_in_bp_pages_only', false );
    
    	if ( 'embed' === $context || $bp_pages_only ) {
    		$bp_pages_only_assets = true;
    	}
    
    	if ( $bp_pages_only_assets && ! is_buddypress() ) {