Anytime changes are saved in the Customizer, there is a customize_save_after
hook.
For theme updates, you can use the upgrader_process_complete
hook – you pass it various arguments including 'type' => 'theme'
.
I don’t think there are any WordPress-specific hooks for when files of a child theme are modified. This typically happens via FTP, rather than wp-admin, so it wouldn’t have any hooks. You could possibly write something yourself to check the server’s modified timestamp on all the theme files, but that might be fairly server-intensive to check frequently.
Related Posts:
- Difference Between Filter and Action Hooks?
- How to create an API for my plugin?
- How to override existing plugin action with new action
- Which hook should be used to add an action containing a redirect?
- WordPress Update Plugin Hook/Action? Since 3.9
- Hook in wp.media to add a new tab
- Which action for triggering cron “wp”or “init”?
- add_action with a class method is causing fatal errors
- How do you use the plugin boilerplate loader class to hook actions and filters?
- How do I print a notice only on certain admin pages?
- Do I need to call do_action in my plugin?
- How Do I Load My Action Earlier Enough?
- Which to use to execute code during the saving of a plugin settings page?
- What’s the earliest point I can get the queried object ID?
- How do I Make a Theme “plugin-ready”?
- A Post is saved twice or more during add_action(save_post)
- Actions or filters fired when data is saved in a custom table
- In a plugin, why is add_action(‘init’) not executed before the plugin is activated?
- What’s the difference between hooks, filters and actions? [duplicate]
- How to use filter hook ‘post_updated_messages’ in coherence with action hook ‘save_post’
- Is it possible to create an action hook using do_action() within add_action()?
- When is it too late to call the action wp_enqueue_scripts?
- Odd behaviour with submenu link creation
- Customizer Not Saving Options
- What is the Difference between directly call a function and call a function using add_action?
- How to check active theme is parent or child wordpress
- Define a function outside a class and call the function using action or filter hook
- Create a plugin to change the action to which a function is hooked
- Modifying values with add_action to be sent to db
- Woocommerce – Hide a Column in Cart Table
- How to redirect to action on custom page within admin section
- admin_notices not displaying in plugin
- Hook to get image filename when it is uploaded
- How to run an add_action hook for specific page
- wp_transition_post_status does not change the status of the post
- Which are the hooks run before/after when a category’s deletion?
- Should action callbacks start with a verb?
- Execute Hook on the footer or header after activating a plugin
- Customizer: widget-synced triggers twice
- Namespaced action and filter tags
- Issue plugin commands in admin settings page
- Can I change header.php of current theme through a plugin function?
- My plugin class doesn’t work! [closed]
- add_action not calling back to function
- Is there an event or an other method that tells me the preview is loaded?
- Tried in different ways but sidebar not working?
- conditionally load javascript & CSS for do_action() calls from plugin
- Plugin with action ‘save_post’ needs to press publish twice on order to publish
- How to hook a custom user function to a wordpress core ajax action?
- Prefixing plugin hooks (actions/filters) with a wrapper class or functions
- Unable to change footer using wp_footer action hook
- wp_set_object_terms not updating database without a die()
- How to filter content for specific content variable
- load_plugin_textdomain doestn’t work with add_action plugins_loaded
- Show error message after exception handled
- Valid filenames for add_action’s first parameter
- How to make “upgrade safe” theme for a plugin?
- How dynamic action login_form_{action} is working
- How to modify files inside wp-includes directory in wordpress
- What action hook can I use to add a JavaScript to a page post using a theme template that is not including get_header() nor get_footer()?
- How to get all queries’s results after they have executed?
- Bug: Post needs to be updated twice when adding action for save_post hook
- Delete data from database using row action
- When does save_post hook fire on post save/update
- A question about add_action()
- Hook add_attachment error
- Call to undefined function is_home() or any conditional tags
- My WordPress Plugin code breaks customize.php viewpoint
- How to find list of all functions bind to a particular hook from my plugin?
- Can I Hook Into the TinyMCE Insert/Edit Link Button to Use Shortlink For Post?
- Include HTML (Bootstrap Modal Box) with a plugin into my header
- How to use a WP_Customize_Control outside of the Customizer?
- wordpress automatic update does not run
- Using init hook for register_taxonomy is causing invalid_taxonomy in wp_insert_term()
- Adding tables to dashboard pages programmatically?
- How to do admin ajax request in a plugin for rest api
- apply_filters() and call_user_func() to define and call a function outside a class
- Impossible to declare box-shadow with wp.customize?
- Want to know how to reveal a WordPress theme, considering the theme name is hidden?
- Where do I hook to have the server do something in PHP on block attribute change?
- ajax-action.php can’t find added action
- Post is uncatagorized in publish_post action
- Don’t print customizer styles when no setting has been used
- WordPress Plugin Boilerplate – add actions and/or filters based on user’s role
- do_action from within a class does not seem to work
- wp_ajax add_action fuction won’t fire on custom jQuery action
- remove different admin menu for specific users
- WordPress Reset password Strength set to medium
- Post Pagination does not working on WP-Query
- add_option_{$option} action hook not being called
- What is the “best” way to update a theme via a plugin?
- Dynamic sidebar areas not working on the Theme Customizer
- action callback, for action dispatched as reported by hook sniffer, not called
- How can I set a dynamic value for post_updated_messages based on return value of post_updated?
- Sending Parameter Failed
- How to remove a class [closed]
- Insert plugin html content to a specific spot in the frontpage
- Apply function on all action hooks?
- How will i add an option under customizer the event calendar section?
- Ninja Forms: Front-End Forms, Post ID?