[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentyseventeen/inc/ -> customizer.php (summary)

Twenty Seventeen: Customizer

File Size: 258 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 9 functions

  twentyseventeen_customize_register()
  twentyseventeen_sanitize_page_layout()
  twentyseventeen_sanitize_colorscheme()
  twentyseventeen_customize_partial_blogname()
  twentyseventeen_customize_partial_blogdescription()
  twentyseventeen_is_static_front_page()
  twentyseventeen_is_view_with_layout_option()
  twentyseventeen_customize_preview_js()
  twentyseventeen_panels_js()

Functions
Functions that are not part of a class:

twentyseventeen_customize_register( $wp_customize )   X-Ref
Add postMessage support for site title and description for the Theme Customizer.

param: WP_Customize_Manager $wp_customize Theme Customizer object.

twentyseventeen_sanitize_page_layout( $input )   X-Ref
Sanitize the page layout options.

param: string $input Page layout.

twentyseventeen_sanitize_colorscheme( $input )   X-Ref
Sanitize the colorscheme.

param: string $input Color scheme.

twentyseventeen_customize_partial_blogname()   X-Ref
Render the site title for the selective refresh partial.

return: void

twentyseventeen_customize_partial_blogdescription()   X-Ref
Render the site tagline for the selective refresh partial.

return: void

twentyseventeen_is_static_front_page()   X-Ref
Return whether we're previewing the front page and it's a static page.

This function is an alias for twentyseventeen_is_frontpage().

return: bool Whether the current page is the front page and static.

twentyseventeen_is_view_with_layout_option()   X-Ref
Return whether we're on a view that supports a one or two column layout.


twentyseventeen_customize_preview_js()   X-Ref
Bind JS handlers to instantly live-preview changes.


twentyseventeen_panels_js()   X-Ref
Load dynamic logic for the customizer controls area.




Generated : Tue Dec 24 08:20:01 2024 Cross-referenced by PHPXref