GC_Customize_Manager::gc_die_handler()
最后更新于:2021-11-27 02:46:17
GC_Customize_Manager::gc_die_handler()响应 the Ajax gc_die() handler if it’s a customized request.
响应
(callable) Die handler.
源文件
文件: gc-includes/class-gc-customize-manager.php
public function gc_die_handler() {
_deprecated_function( __METHOD__, '4.7.0' );
if ( $this->doing_ajax() || isset( $_POST['customized'] ) ) {
return '_ajax_gc_die_handler';
}
return '_default_gc_die_handler';
}