📜  禁用特定插件更新 - PHP 代码示例

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

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