The system redirects after an update with updated=true
. You could check for that GET
parameter on the load-theme-editor.php
hook, something like:
add_action(
'load-theme-editor.php',
function() {
if (isset($_GET['updated']) && true == $_GET['updated']) {
// clear the cache
}
}
);
I looked for more specific hooks and couldn’t find any, by the way.
Related Posts:
- What are the standard admin CSS id/class tags?
- Modal window from within WordPress admin
- How to Change the Default Home Page for the WordPress Dashboard?
- How To Remove WordPress Version From The Admin Footer
- Set Default Admin Colour For All Users
- Securing Admin Accounts – Username Discovery
- Can an admin check passwords of registered users?
- How-to make the admin area mobile friendly [closed]
- How to obtain the user ID of the current profile being edited in WP-Admin?
- 3.3: How do you hide the new dashboard welcome panel?
- Appearance->Editor not visible
- Possible to create placeholder images in WordPress editor that are clickable (should bring up uploader)?
- Admin pages have no content
- Blocking Administrative Access to Authors and Subcribers?
- How to display only logged in user’s post comments in comments area
- WordPress 3.8 get current admin color scheme
- How to Use Resposive Tables in WordPress ADMIN Pages?
- How can I access profile Admin Colour Scheme
- I keep getting logged out in Firefox
- Add tabbed menu to admin page
- remove_action with profile_personal_options
- Getting the different post statuses + count like in edit.php, in a custom submenu page
- how to redirect to url.com/wp-admin if url.com/admin is typed in?
- How To Create User Specific Admin User Pages?
- Change the Default Pages Menu View in wp-admin
- Conditionally load CSS/JS/PHP in wp-admin if using a mobile device
- How to disable automatic excerpt generation *in admin*?
- Limit Words in Category / Term Description – Admin Panel
- Change top level menu item to point to custom submenu item
- Associating custom submenu item with post type of top level menu item
- Adding text in more than one language (at the same time)
- wp-admin post.php JavaScript Links Not Working
- Super slow admin panel
- Admin Taxonomy Terms – Orderby Term Field
- How do I add an admin notice within javascript in the admin interface for posts?
- Fatal error: Exception thrown without a stack frame in Unknown on line 0
- Hide Pages on Edit Pages based on Capability (edit_others_pages)?
- Unable to Access WP Admin or Login buttons after Migration
- Add ‘Last Modified’ and Attachments (Yes/No) to WordPress Users Column
- Editors change a permalink on an unpublished post, but only admins change a permalink on a post that has ever been published?
- How Can I Found Admin Directory
- WordPress post feature image not uploading
- Combine and Minify wp-admin files, also re-write URI’s for CDN
- 500 internal server error on wp-admin only
- Redirect from the dashboard to edit.php if wp_is_mobile() is true
- Seems that admin_post_{action} does not executing
- Add Custom Script in Other Plugin’s Options page
- When submitting the form site.com/blog/wp-admin it goes to site.com/wp-admin
- Can I host WP-admin locally for a remote blog?
- get_current_screen and the WP_Screen class
- Is there alternative to WP_List_Table?
- WordPress Brute Force Prevention
- Admin login not working
- Adding and removing columns from the admin pages panel
- How to make sure your admin doesn’t hi-jack you site?
- How to change the descriptive text on the menus admin page?
- Dynamic WordPress Admin Panel
- Wp-Admin FTPS Connection Error unlike Filezilla
- How to update my website with WordPress?
- wordpress login loop after install
- Unable to render Admin Notices
- WordPress login not working
- Admin blank but Admin menu showing
- Capability to read/edit page in wp-admin only for administrators
- Problems in migration of WordPress site from local server to the online server
- WYSIWYG editor not in a post editor?
- htaccess and htpasswd
- plugin to upload to youtube via wordpress [closed]
- You do not have permission to access this document on form submit
- Creating my own Admin Forms in a WordPress CMS?
- Gallery Settings Change available Columns
- Hide Admin menus per role in WordPress
- Modify links under ‘help section’?
- How to add post_author column to custom post type
- Having admin on different host breaks attached images
- Create a admin page in wordpress without admin menus (“wordpress sidebars”)
- Showing Post Counts of One’s (Author) Own in the admin post list
- Fallback media image for featured image not working in admin column
- I want to disable login of admin (/wp-admin) with email and make it accessible only with username
- When admin changes a password for a registered user, I don’t want to send a password change email to users
- How do you handle postmeta in admin area?
- All Users > User List > Update User Meta Field Inline
- admin : search custom fields
- Get post attached image to display in admin dashboard
- Problem with Settings API: changes are not saved after submit
- Show excerpt if no title in admin view
- WordPress Home/Front Page Display at top of Admin Pages List
- /wp-admin/install.php redirecting to 123-reg
- Redirect admin 403 “Cheatin uh?” admin pages
- iframe with Youtube video appears for logged-in users, but not for incognito users
- Custom Jquery in admin breaks media-upload script
- Extending the user profile [closed]
- How to show WordPress admin dashboard forms on front-end?
- WordPress – add help text under category list(right side) in post edit page
- Cannot access wp-admin after installing SSL – user capabilities not being set
- Admins loggin in to our wordpress site default to the admin page
- issue in wordpress auto delete post and redirect to another 1
- Dropdown list of available posts for post editing
- Unsure how to add simple checkboxes that write to a small table to admin
- Cant enter admin page with SSL