您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

29 行
508 B

  1. <?php
  2. /**
  3. * Customize API: WP_Customize_Background_Image_Setting class
  4. *
  5. * @package WordPress
  6. * @subpackage Customize
  7. * @since 4.4.0
  8. */
  9. /**
  10. * Customizer Background Image Setting class.
  11. *
  12. * @since 3.4.0
  13. *
  14. * @see WP_Customize_Setting
  15. */
  16. final class WP_Customize_Background_Image_Setting extends WP_Customize_Setting {
  17. public $id = 'background_image_thumb';
  18. /**
  19. * @since 3.4.0
  20. *
  21. * @param $value
  22. */
  23. public function update( $value ) {
  24. remove_theme_mod( 'background_image_thumb' );
  25. }
  26. }