wpseo_allow_system_file_edit

Check whether file editing is allowed for the .htaccess and robots.txt files.

Description

wpseo_allow_system_file_edit(); 

Usage

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

Defined (1)

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

/inc/wpseo-non-ajax-functions.php  
  1. function wpseo_allow_system_file_edit() { 
  2. _deprecated_function( __FUNCTION__, 'WPSEO 1.5.6.1', 'WPSEO_Utils::allow_system_file_edit()' ); 
  3.  
  4. return WPSEO_Utils::allow_system_file_edit();