wp_cache_plugin_notice()
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
wp_cache_plugin_notice( $plugin );
- $plugin (обязательный)
- -
Код wp_cache_plugin_notice() wp cache plugin notice WPSCache 1.12.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>'; }