wpsc_enable_wp_config_edit
Использование
add_filter( 'wpsc_enable_wp_config_edit', 'wp_kama_wpsc_enable_wp_config_edit_filter' ); /** * Function for `wpsc_enable_wp_config_edit` filter-hook. * * @param $true * * @return */ function wp_kama_wpsc_enable_wp_config_edit_filter( $true ){ // filter... return $true; }
- $true
- -
Где вызывается хук
wpsc_enable_wp_config_edit
wpsc_enable_wp_config_edit
wp-super-cache/wp-cache.php 2252
if ( ! apply_filters( 'wpsc_enable_wp_config_edit', true ) ) {
wp-super-cache/wp-cache.php 3740
if ( apply_filters( 'wpsc_enable_wp_config_edit', true ) ) {