PUM_AssetCache::admin_notice_check()
Checks if any options have been clicked from admin notices.
Description Description
Source Source
File: classes/AssetCache.php
public static function admin_notice_check() { if ( isset( $_GET['pum_writeable_notice_check'] ) ) { // If either dismiss or try again button is clicked, hide the admin notice. update_option( '_pum_writeable_notice_dismissed', true ); if ( 'undo' === $_GET['pum_writeable_notice_check'] ) { // If try again is clicked, remove flag. update_option( 'pum_files_writeable', true ); } else { pum_update_option( 'disable_asset_caching', true ); } } }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
1.9.0 | Introduced. |