wrap your add_filter function call around a conditional tag and use the builtin return false function:
if ( is_page('138') )
{
add_filter( 'the_title', '__return_false' );
}
Related Posts:
- Issues with title-tag and document_title_parts
- Define custom Page Template without its own .php file
- How to influence the information displayed on widget inside wp-admin
- how to change link of some wordpress pages
- Gravity Forms field entries into wp_query loop [closed]
- Accepted arguments value in hook functions
- Get current page_id before loop, in functions.php
- Which action hook to use for function?
- Modify a function without editing template
- Don’t delete a page if it holds users
- Passing values from a widget to a function within a plugin
- What did I do wrong in my functions code, that will not change the “Get New Password” text to “Send It”?
- Replace a menu with widget or a custom template file programmatically
- Override the WordPress core function wp_referer_field
- What is the text that appears beside the page titles in the list of pages in the WP admin?
- How to edit the Tags within the image file URLs?
- Can’t properly set the_title add_filter to show short_URL
- How to add_filter html template to middle of content
- (Woocommerce) Order by price when entering specific category
- Possible to hook into Media Library preview File column and use a custom image?
- Is it possible to use add_filter in an included file in the child theme’s functions.php?
- Insert Content Before div#main from the functions.php File
- Add Adsense code between job listings – wp job manager plugin
- Changing the text of Upload/Insert on Posts and Pages Screen
- Save_post – Warning: Cannot modify header information
- custom error message for empty username and password using authenticate filter not working
- How Do I Unhook This Parent Theme Function?
- Force resize for all video content
- Why does re-using this function not work? [closed]
- Pass parameter to hooked function using custom page template
- Add Element as a Filter to the_content
- Modify post filter to set custom number of posts per page and exclude child posts
- How to return hook data when multiple parameters are present?
- Hook into a function without a hook?
- Make wp_link_pages() suitable for Twitter Bootstrap markup
- How can I add a filter for specific categories on functions.php?
- How to add custom JavaScript in functions?
- Setting a default text for excerpts of a particular category
- How would I go about replacing this function in my child theme located in inc/template-tags.php
- Retrieve a value from Yoast SEO to use to set a default twitter card image honoring overrides
- Is my code correct to enqueue CSS on a specific page?
- Add_filter when value is no variable?
- Control the srcset much more (not all sizes in it each time)
- Filter yoast canonical add_action priority [closed]
- Filter an WordPress Function in (general-template.php)
- Adding bootstrap classes to video shortcodes
- How do I hook into the container of wp_nav_menu?
- Remove links from the_content when using filters wp_trim_excerpt
- Redefine function arguments before rendering
- Is there a way to prevent a function/method from being called outside a specific hook?
- How to edit classes in body tag?
- Auto log in hook is requiring a page refresh
- Enqueue script on every page except one
- Filter nav menu items HTML tags and wrap inner text with span
- Call to undefined function is_home() or any conditional tags
- Function not working inside of a function in functions.php
- How can I add a class to a nav li depending on URL?
- Modify gform_other_choice_value for specific form and specific field in Gravity Forms
- Adding code before post title with the_title produces weird results
- Add back in child theme what the parent theme removed with remove_action
- Combine embed_oembed_html and oembed_result
- login_headertitle is deprecated since version 5.2.0
- Set “woocommerce_is_purchasable” to false for specific “$product->is_stock_status”
- How to have different site identity logos on each page on Astra Theme [closed]
- Writing a function to detect an event
- How to display the_archive_title() and the_archive_description() – “weird” interaction
- Filter to wp_list_authors
- How to add custom li item to wordpress menu
- Native gallery custom html output
- The_content and Preg_replace in loaded Iframe [closed]
- This code works, but the way I integrated it is breaking the media uploader. How can I integrate it properly?
- WordPress wraps span tags into p tags
- How to edit/replace Parent functions.php function in Child Theme to add “Walker” class
- Functions Filter Question [closed]
- Changing where my author box is printed
- How to store a number (coming from cookie) into query vars for later usage in other filters?
- Problem with images URL after filter applying
- remove_action not working, even after changing priority [duplicate]
- remove/hide wp-editor
- Hook for altering the content of all wp mails
- How do I register a new settings page? [closed]
- Only echo Page Content (not page title & page content together)
- Must filter functions receive all arguments passed to them?
- update_post_meta is Updating with two page id
- Replace header image on all other pages but home – URL issue
- Add a class to post if it has been recently updated
- Replace admin header logo with an image
- search form leads to 404
- Why I can’t load my JavaScripts using an hook inside my functions.php file?
- get content from page through AJAX
- is_home() not working in functions.php file
- How to conditionally add a widget via a hook in functions.php
- how to add_filter to non hook function
- How to place a div inside a function that creates a div
- Any adverse effects of adding apply_filters to a function?
- Conditional custom menu?
- Filter for replacing the WP_query object for a given category
- How to add or delete default value theme options while activate and deactivate theme
- Get URLs for AJAX Filter Checkboxes WordPress
- How to assign php file(template) to several pages with same prefix page name/slug