wp_cache_favorite_action()
Хуков нет.
Возвращает
null. Ничего (null).
Использование
wp_cache_favorite_action( $actions );
- $actions(обязательный)
- .
Код wp_cache_favorite_action() wp cache favorite action WPSCache 3.0.3
function wp_cache_favorite_action( $actions ) {
if ( function_exists( '_deprecated_function' ) ) {
_deprecated_function( __FUNCTION__, 'WP Super Cache 1.6.4' );
}
if ( false == wpsupercache_site_admin() )
return $actions;
if ( function_exists('current_user_can') && !current_user_can('manage_options') )
return $actions;
$actions[ wp_nonce_url( 'options-general.php?page=wpsupercache&wp_delete_cache=1&tab=contents', 'wp-cache' ) ] = array( __( 'Delete Cache', 'wp-super-cache' ), 'manage_options' );
return $actions;
}