Advertisements
Archive | /wp-includes/load.php RSS feed for this section

require_wp_db

Load the correct database class file.This function is used to load the database class file either at runtime or by wp-admin/setup-config.php. We must globalize $wpdb to ensure that it is defined globally by the inline code in wp-db.php.

10212

Advertisements
Continue reading

is_user_admin

Whether the current request is for a user admin screen /wp-admin/user/Does not inform on whether the user is an admin! Use capability checks to tell if the user should be accessing a section or not.

9937

Continue reading

is_network_admin

Whether the current request is for a network admin screen /wp-admin/network/Does not inform on whether the user is a network admin! Use capability checks to tell if the user should be accessing a section or not.

9893

Continue reading

is_blog_admin

Whether the current request is for a blog admin screen /wp-admin/Does not inform on whether the user is a blog admin! Use capability checks to tell if the user should be accessing a section or not.

9865

Continue reading

wp_favicon_request

Don’t load all of WordPress when handling a favicon.ico request.Instead, send the headers for a zero-length favicon and bail.

3649

Continue reading