bp_core_admin_get_static_pages()

Generate a list of static pages, for use when building Components panel markup.


Description Description

By default, this list contains ‘register’ and ‘activate’.


Return Return

(array)


Top ↑

Source Source

File: bp-core/admin/bp-core-admin-slugs.php

function bp_core_admin_get_static_pages() {
	$static_pages = array(
		'register' => __( 'Register', 'buddypress' ),
		'activate' => __( 'Activate', 'buddypress' ),
	);

	/**
	 * Filters the default static pages for BuddyPress setup.
	 *
	 * @since 1.6.0
	 *
	 * @param array $static_pages Array of static default static pages.
	 */
	return apply_filters( 'bp_static_pages', $static_pages );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.4.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.