Method |
Description |
|
__construct ( $settings, $owner ) : void |
Constructor, fixes the settings to allow for multiple ajax buttons in a single option |
|
ajaxLastSuccess ( ) : void |
This is last called when an ajax button is clicked. This just exist with a successful state,
since doing nothing reads as an error with wp.ajax |
|
ajaxSecurityChecker ( ) : void |
This is first called when an ajax button is clicked. This checks whether the nonce
is valid and if we should continue; |
|
createAjaxScript ( ) : void |
Prints the Javascript needed by ajax buttons. The script is only echoed once |
|
display ( ) : void |
Renders the option |
|
registerCustomizerControl ( $wp_customize, $section, $priority = 1 ) |
*
Display for theme customizer |
|