mirror of
https://github.com/szepeviktor/wordpress-website-lifecycle.git
synced 2025-08-17 18:11:08 +08:00
Add plugins page URL to disallow-updates (#27)
This commit is contained in:
parent
445834b530
commit
7a61abb996
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ add_action(
|
|||
wp_mail(
|
||||
get_bloginfo('admin_email'),
|
||||
sprintf('[%s] Plugin activated: %s', get_bloginfo('name'), $plugin),
|
||||
get_bloginfo('url')
|
||||
admin_url('plugins.php')
|
||||
);
|
||||
},
|
||||
10,
|
||||
|
@ -47,7 +47,7 @@ add_action(
|
|||
wp_mail(
|
||||
get_bloginfo('admin_email'),
|
||||
sprintf('[%s] Plugin deactivated: %s', get_bloginfo('name'), $plugin),
|
||||
get_bloginfo('url')
|
||||
admin_url('plugins.php')
|
||||
);
|
||||
},
|
||||
10,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue