porterwp
  • Welcome
  • Documentation
    • Directory Structure
    • Configuration Files
    • Porter Json
    • Posttypes Json
    • Taxonomies Json
    • Blocks Json
    • Posttypes Taxonomies
    • Assets
    • Blocks
    • Make Sh
    • Premium Filters Block
    • Ajax Filters
    • Caching
    • Hooks
    • Admin Ui
  • Filters
    • porter_acf_option_defaults
    • porter_block_folders
    • porter_block_path
    • porter_block_patterns_path
    • porter_blocks_array
    • porter_blockstyle_args
    • porter_blockstyles_path
    • porter_core_blockstyles_path
    • porter_core_pattern_categories
    • porter_default_object_args
    • porter_dynamic_blocks
    • porter_editor_scripts_default_args
    • porter_editor_styles_default_args
    • porter_filter_event_date
    • porter_filter_parsed_query
    • porter_filter_tax_query_relation
    • porter_public_scripts_default_args
    • porter_public_styles_default_args
    • porter_wp_config_filepath
    • porter_wp_inc_filepath
    • porter_wp_inc_filepath_exclusions
    • porter_wp_inc_load_first_filepaths
Powered by GitBook
On this page
  1. Documentation

Admin Ui

WP Admin → Settings › PorterWP

Section
Description

Clear Cache

Deletes all porter_* options and invalidates the object cache.

Version Info

Displays the current plugin & config versions.

The page is registered via includes/admin/class-porter-admin-page.php and handles cache clearance through the admin_post_porterwp_clear_cache action.

Add extra tabs or controls with:

add_action( 'porterwp_admin_page_tabs', function () {
    // Output your custom markup
} );
PreviousHooksNextporter_acf_option_defaults

Last updated 1 day ago