https://wordpress.org/plugins/health-check/
https://inpsyde.com/deutsche-hoster-und-php-version-wechseln-so-gehts/
https://sebastian.expert/fix-wordpress-an-error-occurred-in-the-upload-please-try-again-later/
# Welcome to your htaccess file. | |
# Remember that modifying this file can break the entire website | |
# so please edit carefully. | |
# Also remember that the order of the rules below does matter, | |
# so be sure of what you're doing before shuffling things around. | |
AuthType Basic | |
AuthName "My Dev Environment" | |
# Specify what user/password file the server should look |
function my_remove_wp_seo_meta_box() { | |
remove_meta_box('wpseo_meta', YOUR_POST_TYPE_NAME_HERE, 'normal'); | |
} | |
add_action('add_meta_boxes', 'my_remove_wp_seo_meta_box', 100); |
function custom_add_interface_to_wp_block( $args, $post_type ) { | |
if ( 'wp_block' === $post_type ) { | |
$args['supports'] = array( 'title, 'editor' ); | |
$args['show_in_rest'] = true; | |
$args['show_in_menu'] = true; | |
if ( strstr( $_SERVER['REQUEST_URI'], 'wp-admin/post-new.php' ) || strstr( $_SERVER['REQUEST_URI'], 'wp-admin/post.php' ) ) { | |
$args['rest_controller_class'] = 'WP_REST_Posts_Controller'; | |
} else { | |
$args['rest_controller_class'] = 'WP_REST_Blocks_Controller'; |