Prune_Logs::add_pruned_notice()
Source
File: src/core/admin/class-prune-logs.php
public function add_pruned_notice() { if ( ! automator_filter_has_var( 'post_type' ) ) { return; } if ( ! automator_filter_has_var( 'page' ) ) { return; } if ( ! automator_filter_has_var( 'pruned' ) ) { return; } if ( 'uo-recipe' !== automator_filter_input( 'post_type' ) ) { return; } if ( 'uncanny-automator-settings' !== automator_filter_input( 'page' ) ) { return; } ?> <div class="notice notice-success is-dismissible"> <p><?php esc_html_e( 'Activity logs successfully pruned.', 'uncanny-automator' ); ?></p> </div> <?php }
Expand full source code Collapse full source code View on Github