wpseo_save_description

Save an individual meta description from the Bulk Editor.

Description

wpseo_save_description(); 

Usage

  1. if ( !function_exists( 'wpseo_save_description' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'yoast-seo/admin/ajax.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wpseo_save_description(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/admin/ajax.php  
  1. function wpseo_save_description() { 
  2. wpseo_save_what( 'metadesc' );