bp_core_get_directory_pages_stati
bp_core_get_directory_pages_stati
Appears in: buddypress.11.0.0, buddypress.11.1.0, buddypress.11.2.0, buddypress.11.3.2, buddypress.11.4.0, buddypress.12.0.0, buddypress.12.1.1, buddypress.12.2.0, buddypress.12.3.0, buddypress.12.4.0, buddypress.12.4.1, buddypress.12.5.0, buddypress.12.5.1, buddypress.14.0.0, buddypress.14.1.0, buddypress.14.2.1, buddypress.14.3.3
Hook Type: filter
Displaying hooks found in version: buddypress.14.3.3apply_filters('bp_core_get_directory_pages_stati') is found 1 times:
- /bp-core/bp-core-functions.php line 696
* @since 11.0.0 * * @param array $default_page_status The default allowed BP Directory pages stati. */ $page_stati = (array) apply_filters( 'bp_core_get_directory_pages_stati', $default_page_status ); // Validate the post stati, making sure each status is registered. foreach ( $page_stati as $page_status_key => $page_status ) { if ( ! get_post_status_object( $page_status ) ) { unset( $page_stati[ $page_status_key ] ); }