| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 9520 lines (304 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| cancelReminder() X-Ref |
| No description |
| updateSelectedState() X-Ref |
| Updates the section header to reflect the expanded state. |
| expand() X-Ref |
| Expands the section. |
| disableSwitchButtons() X-Ref |
| Disables the switch buttons if the theme cannot be switched to. return: {boolean} True if the switch buttons should be disabled, false otherwise. |
| disableInstallButtons() X-Ref |
| Disables the install buttons if the theme cannot be installed or if filesystem credentials are needed. return: {boolean} True if the install buttons should be disabled, false otherwise. |
| toggleDisabledNotifications() X-Ref |
| Toggles the theme switch unavailable notification based on whether switching is possible. |
| setAttachmentDataAndRenderContent( value ) X-Ref |
| Set attachment data and render content. Note that BackgroundImage.prototype.ready applies this ready method to itself. Since BackgroundImage is an UploadControl, the value is the attachment URL instead of the attachment ID. In this case we skip fetching the attachment data because we have no ID available, and it is the responsibility of the UploadControl to set the control's attachmentData before calling the renderContent method. param: {number|string} value Attachment. |
| disableSwitchButtons() X-Ref |
| Disables the preview buttons if the theme cannot be switched to. return: {boolean} True if the preview buttons should be disabled, false otherwise. |
| disableInstallButtons() X-Ref |
| Disables the install buttons if the theme cannot be installed or if filesystem credentials are needed. return: {boolean} True if the install buttons should be disabled, false otherwise. |
| updateButtons() X-Ref |
| Updates the state of the preview and install buttons based on whether the theme can be switched to or installed. |
| highlightScheduleButton() X-Ref |
| Highlights the schedule button to remind the user to schedule the changes. |
| cancelHighlightScheduleButton() X-Ref |
| Cancels the highlight reminder for the schedule button. |
| captureSettingModifiedDuringSave( setting ) X-Ref |
| Captures a setting as modified during the save process. param: {wp.customize.Setting} setting The setting that was modified. |
| startLock( args ) X-Ref |
| Start lock. param: {Object} [args] Args. param: {Object} [args.lockUser] Lock user data. param: {boolean} [args.allowOverride=false] Whether override is allowed. return: {void} |
| getAutosaveRestorationUrl() X-Ref |
| Obtain the URL to restore the autosave. return: {string} Customizer URL. |
| stripParamsFromLocation( params ) X-Ref |
| Remove parameter from the URL. param: {string[]} params Parameter names to remove. return: {void} |
| addSiteEditorNotification( notification ) X-Ref |
| Displays a Site Editor notification when a block theme is activated. param: {string} [notification] A notification to display. return: {void} |
| dismissAutosave() X-Ref |
| Dismiss autosave. return: {void} |
| addAutosaveRestoreNotification() X-Ref |
| Add notification regarding the availability of an autosave to restore. return: {void} |
| isCleanState() X-Ref |
| Determine whether the Customizer is in a clean state. return: {boolean} True if the Customizer is in a clean state, false otherwise. |
| startPromptingBeforeUnload() X-Ref |
| Starts prompting the user before unloading the Customizer if there are unsaved changes. |
| requestClose() X-Ref |
| Requests to close the Customizer, prompting the user to save changes if necessary. return: {JQuery.Promise} A promise that resolves if the user is cleared to close the Customizer, or rejects if the user cancels the close. |
| startAutosaving() X-Ref |
| Starts autosaving changeset when a change is made. |
| onChangeSaved( isSaved ) X-Ref |
| Handles changes to the saved state of the changeset. param: {boolean} isSaved Whether the changeset is saved or not. |
| Generated : Sat Sep 26 08:20:30 2026 | Cross-referenced by PHPXref |