Hide Featured Image in AMP

Try this code: add_filter( ‘amp_post_template_data’, ‘xyz_amp_remove_featured_image’ ); function xyz_amp_remove_featured_image( $data ) { $data[‘featured_image’] = false; return $data; } More info about the amp hooks here https://amp-wp.org/documentation/how-the-plugin-works/classic-templates/

Securing langugae folder

The short answer is to use the location wp-content/languages/woocommerce/ to store custom translations. See WooCommerce documentation. This location should be safe from all WordPress updates. Folders parallel to languages/plugins and languages/themes will not be modified. To your specific questions: is there a way to make whole wp-content/languages folder safe for updating? You can control automatic … Read more