wordpress security (only one part of the site)

While there are a few different options to locking down WordPress, one simple method of locking down a post or page would be to use the Protected post option within the page editor. If you are more interested in locking down some of the more well-known security issues of WordPress, I recommend viewing this presentation: … Read more

check_admin_referer not working in custom meta box for custom post type

Now in saving function … in which hook ? if you do this in “save_post_CPT”, it doesn’t work because this hook is called a first time a the object creation then you have to do this : add_action(“save_post_CPT”, function ($object_ID, \WP_Post $object, $update) { if (!$update) { // new object, here you can define default … Read more