📜  隐藏插件更新通知 wordpress - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:50.034000             🧑  作者: Mango

代码示例1
function filter_plugin_updates( $value ) {
    unset( $value->response['akismet/akismet.php'] );
    return $value;
}
add_filter( 'site_transient_update_plugins', 'filter_plugin_updates' );