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
- Get the ID of the page a menu item links to?
- Import WordPress XML File from Within Functions.php
- Add class to menu items of one specific menu (nav_menu_css_class)
- How to restrict actions and filters “properly” by conditions
- Filter the query ONLY for the search results page
- Replace Dashes Before Title in Page List
- Using add_filter() in Widgets
- Customize WordPress Media Manager – Media Window
- Help me to understand wp_header() and wp_footer() functions
- Is it possible to use a forgot password url filter?
- How can I add an extra WooCommerce hook
- Slugs as breadcrumbs for Pages
- Wrap gutenberg block ‘div’ in other elements/extra HTML
- Check if page parent has certain template
- Is it possible to be more page/post specific with admin_enqueue_script?
- Issue adding text after short description on product pages Woocommerce [closed]
- Pages should have priority when using add_rewrite_rule
- Exclude Empty Child Categories in Menu
- add_filter priority problem
- Clean-up script tags
- Super simple shortcode not working
- How to filter out shortcode when displaying the_excerpt() in the loop?
- Gravity Forms – Using a Form to Pre-populate A Gravity Form [closed]
- Adding multiple taxonomy filters to functions.php
- Last updated date function
- How to set default archive image without overriding first attached image? [closed]
- Only let plugin add actions to wp_head & wp_footer on single posts
- Display post shortcode content in the sidebar?
- How to make custom column Admin>Users sortable?
- Get Current Post ID in functions php, meta query filter
- Output and filter data from a XML url
- How to use wp_trash_post (or wp_delete_post) for deleting a (or all) post(s) from custom post type?
- How to filter $content in shortcode function
- Pass parameter to hooked function using custom page template
- Add Element as a Filter to the_content
- Is my code correct to enqueue CSS on a specific page?
- How do I hook into the container of wp_nav_menu?
- Remove links from the_content when using filters wp_trim_excerpt
- Filter nav menu items HTML tags and wrap inner text with span
- Function not working inside of a function in functions.php
- How to add custom li item to wordpress menu
- This code works, but the way I integrated it is breaking the media uploader. How can I integrate it properly?
- How to store a number (coming from cookie) into query vars for later usage in other filters?
- Only echo Page Content (not page title & page content together)
- update_post_meta is Updating with two page id
- How to conditionally add a widget via a hook in functions.php
- How to add or delete default value theme options while activate and deactivate theme
- How to assign php file(template) to several pages with same prefix page name/slug
- Warning at top of website & top menu gone
- How to display an image before title text in menu items
- How to use WP conditional tag in a functions.php with OCEANWP Theme?
- Add #primary at the end of navlink permalinks on single posts
- Get post_author email for Zapier Integration
- How to add class dynamically from templates
- Remove the delete link from pages without a plugin
- $content is empty while using DOMDocument
- How to make an If Else on Excerpt Filter
- Retrieve a custom form field modified by a filter
- Custom field not updating via functions upon publishing
- Print all inline styles to head
- Function Reference for custom link in Admin Menu Management Page
- Add custom fields after post/page title
- Way of getting queried loop before the query with a filter hook?
- Unhook the comment form in Buddypress
- Trying to get this function to show below the content
- How to hook wp_mail to add a custom email as BCC for each sent email?
- My website is generating weired url parameters of paginated pages
- Warning: call_user_func_array() expects parameter 1 to be a valid callback
- How can I modify or filter this variable in an existing class? (Mai Theme)
- Get category of post inside save_post hook
- Log in and out using custom pages, no logout confirmation and redirects for logging in and out 2023
- Copy and Modified WooCommerce function is_coupon_valid [closed]