Search
 
SCRIPT & CODE EXAMPLE
 

PHP

Disable wordpress editor - gutenberg on Post type post

// Disable wordpress editor - gutenberg on Post type post 
add_filter('use_block_editor_for_post_type', 'disable_gutenberg', 10, 2);
function disable_gutenberg($current_status, $post_type)
{
    // Use your post type key instead of 'product'
    if ($post_type === 'post') return false;
    return $current_status;
}
Comment

PREVIOUS NEXT
Code Example
Php :: send data from php to python 
Php :: php force array keys trim 
Php :: install tymon jwt laravel 
Php :: get page thumbnail id wordpress 
Php :: run xampp application on windows startup 
Php :: square root php 
Php :: Convert String containing commas to array 
Php :: convert time to 24 hour format laravel 
Php :: laravel checking if a record exists 
Php :: woocommerce cart length button shortcode 
Php :: how convert the date and time to integer in laravel 
Php :: laravel job delay dispatch 
Php :: PHP MySQL Delete Data 
Php :: download data from s3 and save to local disk laravel 
Php :: php array remove keys keep values 
Php :: check null in_array php 
Php :: print array in php 
Php :: pdo prepare 
Php :: php nginx file not found 
Php :: php rsort retain keys 
Php :: get from table laravel 
Php :: laravel 8 blade get days and hours ago 
Php :: a facade root has not been set laravel 7 
Php :: why does php syntax doesnt work in my html 
Php :: laravel array cache 
Php :: laravel destroy or delete 
Php :: array helper array_push laravel 
Php :: execute php in terminal 
Php :: guzzle http client 
Php :: abort in laravel 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =