bp_directory_pages

  • apply_filters( 'bp_directory_pages', $directory_pages )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/admin/bp-core-admin.php :: Trac Source Line: 516
      		if ( isset( $bp->{$component_id} ) && !empty( $bp->{$component_id}->has_directory ) ) {
      
      			// component->name was introduced in BP 1.5, so we must provide a fallback
      			$component_name = !empty( $bp->{$component_id}->name ) ? $bp->{$component_id}->name : ucwords( $component_id );
      
      			$directory_pages[$component_id] = $component_name;
      		}
      	}
      
      	$directory_pages = apply_filters( 'bp_directory_pages', $directory_pages );
      
      	?>
      
      	<h3><?php _e( 'Directories', 'buddypress' ); ?></h3>
      
      	<p><?php _e( 'Associate a WordPress Page with each BuddyPress component directory.', 'buddypress' ); ?></p>
      
      	<table class="form-table">
      		<tbody>
      

Comments are closed.