aioseop_unprotect_meta

The All In One SEO Pack aioseop unprotect meta function.

Description

aioseop_unprotect_meta( $protected, $meta_key, $meta_type ); 

Parameters (3)

0. $protected
The protected.
1. $meta_key
The meta key.
2. $meta_type
The meta type.

Usage

  1. if ( !function_exists( 'aioseop_unprotect_meta' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'all-in-one-seo-pack/inc/aioseop_functions.php'; 
  3.  
  4. // The protected. 
  5. $protected = null; 
  6.  
  7. // The meta key. 
  8. $meta_key = null; 
  9.  
  10. // The meta type. 
  11. $meta_type = null; 
  12.  
  13. // NOTICE! Understand what this does before running. 
  14. $result = aioseop_unprotect_meta($protected, $meta_key, $meta_type); 
  15.  

Defined (1)

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

/inc/aioseop_functions.php  
  1. function aioseop_unprotect_meta( $protected, $meta_key, $meta_type ) { 
  2. if ( isset( $meta_key ) && ( substr( $meta_key, 0, 9 ) === '_aioseop_' ) ) { 
  3. return false; 
  4.  
  5. return $protected;