Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function disable_save( $maybe_empty, $postarr ) {
- $maybe_empty = true;
- return $maybe_empty;
- }
- add_filter( 'wp_insert_post_empty_content', 'disable_save', 0, 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement