WPtouch 4.3.62 has 54 actions and 151 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when WPtouch fires an action
add_action( 'wptouch_body_bottom', function() {
// Your code runs here.
}, 10, 1 );
// Change a value WPtouch is about to use
add_filter( 'category_description', function( $description, $category ) {
// Change $description here.
return $description;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
category_description
filter/** * Filter the category description for display. */ apply_filters( 'category_description', $category->description, $category ); -
/** * Filters the custom css declarations from the customizer settings. */ apply_filters( 'foundation_custom_css_declarations', $settings->custom_css_declarations ); -
foundation_inline_style
filter/** * Filters the theme's inline style. */ apply_filters( 'foundation_inline_style', '' ); -
foundation_search_post_types
filter/** * Filters the theme's search post types. */ apply_filters( 'foundation_search_post_types', array( 'post', 'page' ) ); -
foundation_settings_blog
filter/** * Filters the customizer settings for the blog section. */ apply_filters( 'foundation_settings_blog', $foundation_blog_settings ); -
foundation_settings_header
filter/** * Filters the customizer settings for the header section. */ apply_filters( 'foundation_settings_header', $foundation_header_settings ); -
foundation_settings_page
filter/** * Filters the customizer settings for the page section. */ apply_filters( 'foundation_settings_page', array() ); -
list_cats
filter/** * This filter is documented in wp-includes/category-template.php */ apply_filters( 'list_cats', esc_attr( $category->name ), $category ); -
wp_list_categories
filter/** * Filter the HTML output of a taxonomy list. */ apply_filters( 'wp_list_categories', $output, $r ); -
/** * Dynamically filters the allowed module support based on the $module name. */ apply_filters( "wptouch_allow_module_{$module}", true ); -
/** * Filters the theme search post type name. */ apply_filters( 'wptouch_foundation_search_post_type_text', $search_post_type ); -
wptouch_incompatible_plugins
filter/** * List of incomptaible plugins. */ apply_filters( 'wptouch_incompatible_plugins', $incompatiable_plugins ); -
wptouch_incompatible_themes
filter/** * List of incomptaible themes. */ apply_filters( 'wptouch_incompatible_themes', $incompatiable_themes ); -
/** * WPtouch Load color extraction js library. */ apply_filters( 'wptouch_load_color_extraction_lib', false ); -
/** * WPtouch load Google maps settings. */ apply_filters( 'wptouch_load_google_maps_settings', false ); -
/** * Filters the SQL to allow categories list. */ apply_filters( 'wptouch_ordered_cat_list_categories', $sql ); -
/** * Filter WPtouch Pro analytics section settings. */ apply_filters( 'wptouch_pro_analytics_settings', $analytics_settings ); -
wptouch_theme_color
filter/** * Filters the theme color. */ apply_filters( 'wptouch_theme_color', '' ); -
wptouch_theme_support
filter/** * Filters the theme support setting. */ apply_filters( 'wptouch_theme_support', $theme_data->theme_support ); -
wptouch_has_post_thumbnail
filterapply_filters( 'wptouch_has_post_thumbnail', $has_thumbnail ); -
apply_filters( 'wptouch_admin_page_render_wptouch-admin-theme-settings', false ); -
wptouch_custom_posts_pre_get
filterapply_filters( 'wptouch_custom_posts_pre_get', array_merge( array( 'post' ), $post_type_array ) ); -
apply_filters( 'foundation_is_custom_latest_posts_page', ( $settings->latest_posts_page == $dummy_query->queried_object_id ), $settings->latest_posts_page, $dummy_query->queried_object_id ); -
the_content
filterapply_filters( 'the_content', $post_content ); -
wptouch_body_bottom
actiondo_action( 'wptouch_body_bottom' ); -
wptouch_body_top
actiondo_action( 'wptouch_body_top' ); -
wptouch_body_top_second
actiondo_action( 'wptouch_body_top_second' ); -
wptouch_custom_posts_list
filterapply_filters( 'wptouch_custom_posts_list', array_diff( $post_types, $default_post_types ) ); -
apply_filters( "wptouch_customizer_save__{$domain}__{$setting_name}", $settings, $new_setting ); -
wptouch_get_post_thumbnail
filterapply_filters( 'wptouch_get_post_thumbnail', $image ); -
wptouch_language_insert
actiondo_action( 'wptouch_language_insert' ); -
wptouch_parent_device_class
filterapply_filters( 'wptouch_parent_device_class', $this->get_active_device_class() ); -
apply_filters( 'wptouch_supported_device_classes', $wptouch_device_classes ); -
wptouch_switch_bottom
actiondo_action( 'wptouch_switch_bottom' ); -
wptouch_switch_top
actiondo_action( 'wptouch_switch_top' ); -
wptouch_theme_screenshot
filterapply_filters( 'wptouch_theme_screenshot', $wptouch_theme_icon ); -
apply_filters( 'bauhaus_featured_carousel_show', $should_show, $settings->bauhaus_featured_carousel_enabled ); -
apply_filters( 'bauhaus_featured_should_modify_query', ( $query->is_single || $query->is_page || $query->is_feed || $query->is_search || $query->is_archive || $query->is_category ) == false, $query ); -
bauhaus_featured_show
filterapply_filters( 'bauhaus_featured_show', $should_show, $settings->bauhaus_featured_enabled ); -
comment_form
actiondo_action( 'comment_form', $post->ID ); -
do_action( 'foundation_enqueue_color_scripts' ); -
foundation_enqueue_scripts
actiondo_action( 'foundation_enqueue_scripts' ); -
do_action( 'foundation_enqueue_scripts_mobile' ); -
apply_filters( 'foundation_featured_should_modify_query', ( $query->is_single || $query->is_page || $query->is_feed || $query->is_search || $query->is_archive || $query->is_category ) == false, $query ); -
foundation_featured_show
filterapply_filters( 'foundation_featured_show', $should_show, $settings->featured_enabled ); -
apply_filters( 'foundation_featured_use_swipe', true ); -
foundation_init
actiondo_action( 'foundation_init' ); -
foundation_localized_strings
filterapply_filters( 'foundation_localized_strings', $foundation_strings ); -
foundation_module_init
actiondo_action( 'foundation_module_init' ); -
do_action( 'foundation_module_init_mobile' ); -
foundation_modules_loaded
actiondo_action( 'foundation_modules_loaded' ); -
do_action( 'foundation_modules_loaded_mobile' ); -
foundation_settings_pages
filterapply_filters( 'foundation_settings_pages', $landing_settings ); -
do_action( 'foundation_social_post_output' ); -
foundation_social_pre_output
actiondo_action( 'foundation_social_pre_output' ); -
foundation_social_show_link
filterapply_filters( 'foundation_social_show_link', $link, $link_data ); -
wptouch_addon
filterapply_filters( 'wptouch_addon', $wptouch_cur_addon ); -
wptouch_addon_admin_init
actiondo_action( 'wptouch_addon_admin_init' ); -
wptouch_addon_author
filterapply_filters( 'wptouch_addon_author', $wptouch_cur_addon->author ); -
wptouch_addon_base
filterapply_filters( 'wptouch_addon_base', $wptouch_cur_addon->base ); -
wptouch_addon_description
filterapply_filters( 'wptouch_addon_description', $wptouch_cur_addon->description ); -
wptouch_addon_directories
filterapply_filters( 'wptouch_addon_directories', $addon_directories ); -
wptouch_addon_features
filterapply_filters( 'wptouch_addon_features', $wptouch_cur_addon->features ); -
wptouch_addon_icon
filterapply_filters( 'wptouch_addon_icon', $wptouch_addon_icon ); -
wptouch_addon_init
actiondo_action( 'wptouch_addon_init' ); -
wptouch_addon_location
filterapply_filters( 'wptouch_addon_location', $wptouch_cur_addon->location ); -
wptouch_addon_options
filterapply_filters( 'wptouch_addon_options', $page_options ); -
wptouch_addon_preview_image
filterapply_filters( 'wptouch_addon_preview_image', $wptouch_addon_preview_item ); -
wptouch_addon_tags
filterapply_filters( 'wptouch_addon_tags', $wptouch_cur_addon->tags ); -
wptouch_addon_title
filterapply_filters( 'wptouch_addon_title', $wptouch_cur_addon->name ); -
wptouch_addon_version
filterapply_filters( 'wptouch_addon_version', $wptouch_cur_addon->version ); -
do_action( "wptouch_admin_ajax_{$ajax_action}", $wptouch_pro ); -
wptouch_admin_ajax_intercept
actiondo_action( 'wptouch_admin_ajax_intercept', $ajax_action ); -
wptouch_admin_languages
filterapply_filters( 'wptouch_admin_languages', $languages ); -
apply_filters( "wptouch_admin_page_render_{$page_name}", $panel_options ); -
do_action( 'wptouch_admin_page_render_custom', $admin_panel_name ); -
wptouch_admin_render_setting
actiondo_action( 'wptouch_admin_render_setting', $setting ); -
do_action( 'wptouch_admin_save_settings_completed' ); -
wptouch_advertising_top
actiondo_action( 'wptouch_advertising_top' ); -
wptouch_after_post_content
actiondo_action( 'wptouch_after_post_content' ); -
wptouch_after_reset_settings
actiondo_action( 'wptouch_after_reset_settings' ); -
do_action( 'wptouch_after_restore_settings', $domain, $settings_object ); -
wptouch_after_self_destruct
actiondo_action( 'wptouch_after_self_destruct' ); -
do_action( "wptouch_after_settings_subpage_{$page_info->slug}" ); -
do_action( "wptouch_ajax_{$this->post['wptouch_action']}" ); -
wptouch_allow_tablets
filterapply_filters( 'wptouch_allow_tablets', false ); -
wptouch_allow_wam
filterapply_filters( 'wptouch_allow_wam', true ); -
apply_filters( 'wptouch_available_icon_sets_post_sort', $icon_packs ); -
apply_filters( 'wptouch_available_icon_sets_pre_sort', $icon_packs ); -
wptouch_available_themes
filterapply_filters( 'wptouch_available_themes', $themes ); -
wptouch_backup_settings
filterapply_filters( 'wptouch_backup_settings', $settings, $domain ); -
wptouch_body_classes
filterapply_filters( 'wptouch_body_classes', $body_classes ); -
wptouch_cache_enable
actiondo_action( 'wptouch_cache_enable' ); -
wptouch_cache_page
actiondo_action( 'wptouch_cache_page' ); -
wptouch_can_show_page
filterapply_filters( 'wptouch_can_show_page', true, $page_name ); -
wptouch_content_classes
filterapply_filters( 'wptouch_content_classes', $content_classes ); -
wptouch_create_directories
filterapply_filters( 'wptouch_create_directories', $directories_to_create ); -
wptouch_create_thumbnails
filterapply_filters( 'wptouch_create_thumbnails', function_exists( 'add_theme_support' ) ); -
wptouch_current_page_url
filterapply_filters( 'wptouch_current_page_url', sanitize_text_field(wp_unslash($_SERVER['REQUEST_URI'])) ); -
wptouch_custom_stats_code
filterapply_filters( 'wptouch_custom_stats_code', $settings->custom_stats_code ); -
apply_filters( "wptouch_customizer_override_{$setting_name}", $setting_value ); -
do_action( 'wptouch_customizer_start_setup' ); -
wptouch_desktop_switch_html
filterapply_filters( 'wptouch_desktop_switch_html', $switch_html ); -
wptouch_desktop_switch_link
filterapply_filters( 'wptouch_desktop_switch_link', '?wptouch_switch=mobile' ); -
wptouch_domain_site_wide
filterapply_filters( 'wptouch_domain_site_wide', false, $site_wide_domains ); -
wptouch_excerpt
filterapply_filters( 'wptouch_excerpt', get_the_excerpt() ); -
wptouch_excerpt_length
filterapply_filters( 'wptouch_excerpt_length', WPTOUCH_EXCERPT_LENGTH ); -
wptouch_excerpt_more
filterapply_filters( 'wptouch_excerpt_more', ' ...' ); -
wptouch_exclusion_list
filterapply_filters( 'wptouch_exclusion_list', array() ); -
apply_filters( 'wptouch_featured_slider_settings', $featured_settings ); -
wptouch_filter_google_fonts
filterapply_filters( 'wptouch_filter_google_fonts', true ); -
wptouch_force_mobile_ajax
filterapply_filters( 'wptouch_force_mobile_ajax', false ); -
wptouch_force_mobile_device
filterapply_filters( 'wptouch_force_mobile_device', $this->is_supported_device() ); -
wptouch_functions_loaded
actiondo_action( 'wptouch_functions_loaded' ); -
wptouch_functions_start
actiondo_action( 'wptouch_functions_start' ); -
wptouch_get_the_time
filterapply_filters( 'wptouch_get_the_time', date_i18n( $format, $time ) ); -
wptouch_has_tags
filterapply_filters( 'wptouch_has_tags', get_the_tags() ); -
wptouch_icon_class_name
filterapply_filters( 'wptouch_icon_class_name', $wptouch_icon->class_name ); -
wptouch_icon_name
filterapply_filters( 'wptouch_icon_name', $wptouch_icon->name ); -
wptouch_icon_pack_class_name
filterapply_filters( 'wptouch_icon_pack_class_name', $wptouch_icon_pack->class_name ); -
wptouch_icon_pack_desc
filterapply_filters( 'wptouch_icon_pack_desc', $wptouch_icon_pack->description ); -
wptouch_icon_pack_name
filterapply_filters( 'wptouch_icon_pack_name', $wptouch_icon_pack->name ); -
wptouch_icon_set
filterapply_filters( 'wptouch_icon_set', $wptouch_icon->set ); -
wptouch_icon_short_name
filterapply_filters( 'wptouch_icon_short_name', $wptouch_icon->short_name ); -
wptouch_icon_url
filterapply_filters( 'wptouch_icon_url', $wptouch_icon->url ); -
wptouch_init
actiondo_action( 'wptouch_init' ); -
wptouch_language
filterapply_filters( 'wptouch_language', $current_locale ); -
wptouch_language_loaded
actiondo_action( 'wptouch_language_loaded', $this->locale ); -
wptouch_localize_scripts
filterapply_filters( 'wptouch_localize_scripts', $localize_params ); -
wptouch_mobile_switch_link
filterapply_filters( 'wptouch_mobile_switch_link', '?wptouch_switch=desktop' ); -
wptouch_mobile_theme_showing
actiondo_action( 'wptouch_mobile_theme_showing' ); -
apply_filters( "wptouch_modify_setting__{$setting_domain}__{$setting_name}", $content ); -
wptouch_parent_style_queued
actiondo_action( 'wptouch_parent_style_queued' ); -
apply_filters( 'wptouch_plugin_exclusion_list', $final_hook_list ); -
wptouch_plugin_whitelist
filterapply_filters( 'wptouch_plugin_whitelist', array( 'hello', 'akismet', 'wptouch', 'wptouch-pro', 'wptouch-pro-image-optimizer', 'wptouch-pro-3' ) ); -
wptouch_post_classes
filterapply_filters( 'wptouch_post_classes', $post_classes ); -
wptouch_post_head
actiondo_action( 'wptouch_post_head' ); -
do_action( 'wptouch_post_process_image_file', $destination_file, wptouch_decode_encoded_setting( $this->post[ 'setting_name'] ) ); -
wptouch_pre_head
actiondo_action( 'wptouch_pre_head' ); -
apply_filters( 'wptouch_preprocess_shortcodes', $custom_preprocess_shortcodes ); -
wptouch_preview
actiondo_action( 'wptouch_preview' ); -
apply_filters( 'wptouch_preview_mode_device_class', 'default' ); -
apply_filters( 'wptouch_pro_google_maps_settings', $google_maps_settings ); -
wptouch_pro_loaded
actiondo_action( 'wptouch_pro_loaded' ); -
wptouch_redirect_target
filterapply_filters( 'wptouch_redirect_target', $redirect_target ); -
apply_filters( 'wptouch_registered_setting_domains', $active_domains ); -
do_action( 'wptouch_root_functions_loaded' ); -
wptouch_setting_defaults
filterapply_filters( 'wptouch_setting_defaults', $setting_defaults, $domain ); -
apply_filters( "wptouch_setting_defaults_{wptouch_strip_dashes($domain)}", $setting_defaults ); -
apply_filters( 'wptouch_setting_version_compare', WPTOUCH_VERSION, $_primed_setting->domain ); -
wptouch_settings
filterapply_filters( 'wptouch_settings', $settings ); -
do_action( 'wptouch_settings_after_merge_default', $domain, $name, $value ); -
wptouch_settings_compat
filterapply_filters( 'wptouch_settings_compat', $page_options ); -
wptouch_settings_domain
filterapply_filters( 'wptouch_settings_domain', $settings, $domain ); -
apply_filters( 'wptouch_settings_override_defaults', $setting_defaults, $domain ); -
apply_filters( 'wptouch_settings_page_before_render', $page_info, $page_name ); -
wptouch_settings_processed
actiondo_action( 'wptouch_settings_processed' ); -
apply_filters( "wptouch_shortcode_{$attr['target']}", $content ); -
wptouch_should_init_pro
filterapply_filters( 'wptouch_should_init_pro', true ); -
apply_filters( 'wptouch_should_show_mobile_theme', $this->showing_mobile_theme ); -
wptouch_show_login_links
filterapply_filters( 'wptouch_show_login_links', $settings->show_login_links ); -
apply_filters( 'wptouch_show_mobile_switch_link', $settings->show_switch_link == true ); -
wptouch_supported_agents
filterapply_filters( 'wptouch_supported_agents', $useragents ); -
wptouch_the_content
filterapply_filters( 'wptouch_the_content', get_the_content() ); -
wptouch_the_permalink
filterapply_filters( 'wptouch_the_permalink', get_permalink() ); -
wptouch_the_post_thumbnail
filterapply_filters( 'wptouch_the_post_thumbnail', $thumbnail, $param ); -
wptouch_the_title
filterapply_filters( 'wptouch_the_title', get_the_title() ); -
wptouch_theme
filterapply_filters( 'wptouch_theme', $wptouch_cur_theme ); -
wptouch_theme_author
filterapply_filters( 'wptouch_theme_author', $wptouch_cur_theme->author ); -
wptouch_theme_base
filterapply_filters( 'wptouch_theme_base', $wptouch_cur_theme->base ); -
wptouch_theme_description
filterapply_filters( 'wptouch_theme_description', $wptouch_cur_theme->description ); -
wptouch_theme_device_classes
filterapply_filters( 'wptouch_theme_device_classes', $this->get_supported_device_classes() ); -
wptouch_theme_directories
filterapply_filters( 'wptouch_theme_directories', $theme_directories ); -
wptouch_theme_features
filterapply_filters( 'wptouch_theme_features', $wptouch_cur_theme->features ); -
wptouch_theme_init
actiondo_action( 'wptouch_theme_init' ); -
wptouch_theme_location
filterapply_filters( 'wptouch_theme_location', $wptouch_cur_theme->location ); -
wptouch_theme_tags
filterapply_filters( 'wptouch_theme_tags', $wptouch_cur_theme->tags ); -
wptouch_theme_title
filterapply_filters( 'wptouch_theme_title', $wptouch_cur_theme->name ); -
wptouch_theme_version
filterapply_filters( 'wptouch_theme_version', $wptouch_cur_theme->version ); -
wptouch_thumbnail_size
filterapply_filters( 'wptouch_thumbnail_size', WPTOUCH_THUMBNAIL_SIZE ); -
apply_filters( 'wptouch_unhandled_page_walker', $walker, $menu_info->menu_type ); -
wptouch_update_settings
filterapply_filters( 'wptouch_update_settings', $settings ); -
apply_filters( 'wptouch_update_settings_domain', $settings, $domain ); -
do_action( "wptouch_update_settings_domain_{$domain}" ); -
wptouch_upload_file
actiondo_action( 'wptouch_upload_file', $this->post[ 'file_type'] ); -
wptouch_user_agent
filterapply_filters( 'wptouch_user_agent', strtr( $_SERVER['HTTP_USER_AGENT'], $exclude_patterns ) ); -
wptouch_version_update
actiondo_action( 'wptouch_version_update', WPTOUCH_VERSION );
Generated from WPtouch's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: