Filter a portion of the post title to replace specific characters.
Add this code snippet to your themes functions.php
file.
NOTE: When string replacing HTML Entries, it is best practice to use the appropriate HTML Entity code.
Code Example
/**
* Filter post title.
*
* @param string $post_title
* @param int $post_id
* @param object $data_sync
*/
add_filter( 'wp_data_sync_post_title', function( $post_title, $post_id, $data_sync ) {
// Replace portions of the post title.
$post_title = str_replace( 'Neauvia®', 'Neauvia™', $post_title );
$post_title = str_replace( 'Revolax®', 'Revolax™', $post_title );
return $post_title;
}, 10, 3 );
Products
-
Starter Plan
$39.00 / monthMore Info- 10,000 Requests/Month
- Unlimited Data Sources
- Unlimited Websites
- Unlimited Users
Basic Plan
$69.00 / monthMore Info- 40,000 Requests/Month
- Unlimited Data Sources
- Unlimited Websites
- Unlimited Users
Professional Plan
$129.00 / monthMore Info- 150,000 Requests/Month
- Unlimited Data Sources
- Unlimited Websites
- Unlimited Users
Data Source Mapping
$149.00 – $999.00More Info This product has multiple variants. The options may be chosen on the product pageLet us do the mapping for you!!We will map all your data sources for you, so you can move on to other projects that demand your time. One of our experts will map up to 50 fields for you in each data source.