Ichsan's Ebook
  • Journal
  • Wordpress Development
    • Rest API
      • /posts
      • Adding Custom Endpoint
    • Hooks
      • Actions
        • Actions Run During an Admin Page Request
          • set_current_user
          • admin_menu
          • admin_footer
        • Template Actions
          • switch_theme
          • after_switch_theme
      • Filters
    • Functions
      • register_post_type
      • add_shortcode
      • add_dashboard_page
      • add_posts_page
      • add_management_page
      • add_menu_page
      • add_submenu_page
      • dbDelta
      • wpdb::get_results
      • wpdb::get_row
      • wpdb::delete
    • Properties
      • wpdb::insert_id
      • wpdb::last_error
      • wpdb::num_rows
      • wpdb::prefix
    • Hands On Tips & Trick
      • Include PHP file to add_menu_page()
    • Utils Methods
      • __FILE__
      • dirname()
      • __()
    • Conditional Tags
      • is_home
      • is_front_page
      • is_admin
      • is_single
      • is_singular
    • Roles and Capabilities
  • Template Hierarchy
Powered by GitBook
On this page
  1. Wordpress Development
  2. Hooks

Filters

Previousafter_switch_themeNextFunctions

Last updated 1 year ago

give you the ability to change data during the execution of WordPress Core, plugins, and themes. Callback functions for Filters will accept a variable, modify it, and return it. They are meant to work in an isolated manner, and should never have such as affecting global variables and output. Filters expect to have something returned back to them.

Filters
side effects