/** * Disabling the Gutenberg editor all post types except post. * * @param bool $can_edit Whether to use the Gutenberg editor. * @param string $post_type Name of WordPress post type. * @return bool $can_edit */ function gutenberg_can_edit_post_type_83744857( $can_edit, $post_type ) { $gutenberg_supported_types = array( 'post' ); if ( ! in_array( $post_type, $gutenberg_supported_types, true ) ) { $can_edit = false; } return $can_edit; } add_filter( 'gutenberg_can_edit_post_type', 'gutenberg_can_edit_post_type_83744857', 10, 2 );
Select Page

Day 1 – Stoic Post

“Stoicism is a philosophy that focuses on teaching us how to excel in life, how to become better human beings, and how to live a good life.” Welcome to the Stoic Post. I feel honored that you are taking a moment to read and hope that you find some applicable knowledge...