GC_Customize_Widgets::is_option_capture_ignored()
最后更新于:2021-11-27 11:08:40
GC_Customize_Widgets::is_option_capture_ignored( string$option_name)Determines whether the captured option update should be ignored.
参数
- $option_name
-
(string) (Required) Option name.
响应
(bool) Whether the option capture is ignored.
源文件
文件: gc-includes/class-gc-customize-widgets.php
protected function is_option_capture_ignored( $option_name ) {
return ( 0 === strpos( $option_name, '_transient_' ) );
}