get_wpseo_options_arr

Retrieve an array of all the options the plugin uses.

Description

(array) get_wpseo_options_arr(); 

It can't use only one due to limitations of the options API.

Returns (array)

of options.


Usage

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

Defined (1)

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

/inc/wpseo-functions-deprecated.php  
  1. function get_wpseo_options_arr() { 
  2. _deprecated_function( __FUNCTION__, 'WPSEO 1.5.0', 'WPSEO_Options::get_option_names()' ); 
  3.  
  4. return WPSEO_Options::get_option_names();