Definition:
function is_redirect ($sc) {}
Parameters
- $sc
Source code
function is_redirect ($sc) {
return $sc >= 300 && $sc < 400;
}
2169
Definition:
function is_redirect ($sc) {}
function is_redirect ($sc) {
return $sc >= 300 && $sc < 400;
}
2169
Definition:
function is_preview() {}
function is_preview() {
return (bool) $this->is_preview;
}
2167
Definition:
function is_post_type_hierarchical( $post_type ) {}
returns:Whether post type is hierarchical.
function is_post_type_hierarchical( $post_type ) {
if ( ! post_type_exists( $post_type ) )
return false;
$post_type = get_post_type_object( $post_type );
return $post_type->hierarchical;
}
2165
Definition:
function is_plugin_page() {}
function is_plugin_page() {
global $plugin_page;
if ( isset($plugin_page) )
return true;
return false;
}
2163
Definition:
function is_plugin_active_for_network( $plugin ) {}
returns:True, if active for the network, otherwise false.
function is_plugin_active_for_network( $plugin ) {
if ( !is_multisite() )
return false;
$plugins = get_site_option( 'active_sitewide_plugins');
if ( isset($plugins[$plugin]) )
return true;
return false;
}
2161