This should do the job:
<?php
/**
Plugin Name: wpse425362
Description: Site specific code changes for example.com
*/
if (!defined('ABSPATH')) exit; // Exit if accessed directly
/**
* Removes the meta description generated by Yoast
*
* @param array $presenters the registered presenters.
*
* @return array the remaining presenters.
*/
function wpse425362_remove_description( $presenters ) {
return array_map( function( $presenter ) {
if ( ! $presenter instanceof Meta_Description_Presenter ) {
return $presenter;
}
}, $presenters );
}
add_action( 'wpseo_frontend_presenters', 'wpse425362_remove_description' );
Save this as /wp-content/plugins/wpse425362/wpse425362.php
and activate it in the plugins menu.
Related Posts:
- How to roll back a WordPress plugin update?
- How can I modify the Capability needed to access a plugin’s options?
- Allowing Yoast SEO plugin to track me
- Update Multiple Post Meta for the Same Post In One call?
- Comparisson between date() and a date from wp_postmeta
- Show the “ratingValue” and “ratingCount” values of KK Star Ratings Plugin
- Updating post meta for custom post types
- How can I add a custom meta value on file upload?
- Exclude custom post_type in sitemap generation?
- How to get custom field image url of specific size
- Yoast SEO Calling content filters 2 additional times
- How do I add advanced custom fields / meta fields to Elasticsearch? [closed]
- Yoast SEO blocking/re-initialising longer running process
- Can’t access my WP dashboard: fatal error? [closed]
- Set attached to state
- How to change ID of an attachment in wp_posts and its related tables correctly?
- Add multiple attributes to product from php
- Make the checkbox meta field checked by default
- Add custom taxonomy to title tag [closed]
- Where to hook my plugin’s action
- Is there a filter for get_post_custom()?
- dynamically generating plugin syntax
- Is Wrapping intval() Around esc_attr() Redundant for Escaping Input?
- One of my plugins broke when I tried to update it, how do I safely uninstall it?
- Create digital-virtual-downloadable WooCommerce products from the frontend using Gravity Forms? [closed]
- Error “preg_match_all” with WordPress SEO by Yoast plugin [closed]
- What is generating my meta og:description?
- Assign / update custom field value for all posts (How can I assign only to posts without custom field value?)
- How to display the “ratingValue” and “ratingCount” values generated by the KK Star Ratings plugin into my page’s recipe ld+json schema
- WordPress display breadcrumbs using Yoast plugin [closed]
- Yoast SEO plugin “could detect no serious SEO problems” on dashboard
- get current date + 90 days and checking every day
- WordPress Sitemap including pages that aren’t there
- 306 MB of wp_options occupied by WordPress SEO Plugin, is that normal? [closed]
- Replace default og:image tag YOAST
- How can I change the meta_key for a particular piece of information?
- Every new post/draft has a custom field variable “yst_is_cornerstone” showing
- How to remove/hide Yoast’s “SEO” tab in admin panel?
- Meta box losing its value when scheduled post is published
- How to insert multiple postmeta values with one query?
- Help in using SEO Plugins: SEO Ultimate And Yoast SEO Plugin
- Mass SQL WordPress Meta Key deletion
- Yoast SEO settings unavailable in an archive page from wordpress plugin
- Remove Yoast jQuery from front end
- Date format – Meta Box plugin
- get meta value from database by post id
- Yoast Force Rewrite Crashed Site [closed]
- How to remove bulk actions from custom post type
- Adding custom meta boxes to specified custom post type
- How to select a paragraph other than the 1st to be the post’s excerpt?
- How-to: This block can only be used once
- Set Multiple Meta Values as an Array Using dispatch( ‘core/editor’ ).editPost() Call in Gutenberg/JS
- wp-admin send 404 error
- How can I concatenate variables to search results title? [closed]
- How to track analytics with a WordPress site under the same domain as my main site?
- YOAST Seo xmlsitemap menu item not showing in the dashboard [closed]
- Remember the Meta Value With Radio Buttons
- Set domain level rel canonical with Yoast SEO [closed]
- Override methods in Yoast SEO breadcrumb class
- Yoast SEO Plug In and my Theme duplicating code. Need some feedback on what to do? [closed]
- Link Posts to External URL
- Why does “updated_post_meta” did not fire when uploading media other than image?
- What snippet do I need to type to show my ACF field show up on my theme?
- Is there a way to make [Table Of Content] plugin while not using revision data?
- custom wordpress theme and yoast seo injecting text in body
- Help to Create a Simple Plugin to make a post
- get_post_meta shortcode returns empty field
- Does anyone know why my SEO and title become one?
- how to auto random increment for post view
- How to securely controlling data without keeping it in postmeta?
- My wordpress local urls is still displayed even moved to live
- “Enable Media Replace” plugin does not update serialized object in WPMeta
- Custom Field used to allow a Free Story; no longer works
- Get and Update Most Meta Value as an array in HTML form
- SEO Site Title appearing in google search despite not being added
- How to create meta fields with more than 1 relation?
- Replace Yoast og:image in single custom post type
- Get value from an input field and pass into update_meta_data as $meta_value
- How to get post that has non zero or greater than zero meta value
- Delete postmeta when uninstall/delete plugin
- Same Title on two different post type with single custom taxonomy
- Yoast Seo Plugin meta title not showoing [closed]
- How can I make my plugin display custom post meta data on the front end?
- Storing values in Post Meta vs new tables
- Mystery URL http://#/ Listed in XML Sitemap Created by WordPress SEO by Yoast Plugin
- wordpress last all added get meta value by post id
- Get post id in Post Page within Wp-admin
- Output plugin post like system count [closed]
- getting image alt text via ACF plugin in WordPress [closed]
- Open graph issue on my theme
- TypeErrors with Yoast, jQuery in conflict?
- Possible to change meta data single quotes to dobule quotes in yoast wordpress seo? [closed]
- Update post meta Rest Api
- Yoast Seo noindex added to pages outside wordpress
- Fatal error in wordpress
- how to add meta for order in woocommerce
- YOAST slug does not take the custom permalink I have made
- how to make yoast seo read text from custom fields in custom post type
- Remove a specific sitemap from Sitemap_index.xml
- Remove wpseo filter from polylang plugin