wp_cache_plugin_notice()
No Hooks.
Returns
null. Nothing (null).
Usage
wp_cache_plugin_notice( $plugin );
- $plugin(required)
- .
wp_cache_plugin_notice() wp cache plugin notice code WPSCache 3.1.0
function wp_cache_plugin_notice( $plugin ) {
global $cache_enabled;
if( $plugin == 'wp-super-cache/wp-cache.php' && !$cache_enabled && function_exists( 'admin_url' ) )
echo '<td colspan="5" class="plugin-update">' . sprintf( __( 'WP Super Cache must be configured. Go to <a href="%s">the admin page</a> to enable and configure the plugin.', 'wp-super-cache' ), admin_url( 'options-general.php?page=wpsupercache' ) ) . '</td>';
}