Filters the link title attribute for the ‘Search engines discouraged’ message displayed in the ‘At a Glance’ dashboard widget.
Description
Prior to 3.8.0, the widget was named ‘Right Now’.
Parameters
$title
string- Default attribute text.
Source
$title = apply_filters( 'privacy_on_link_title', '' );
We will create a function that modifies link titles containing the word “Privacy” by prefixing them with “Modified: “. We will use WordPress filters to achieve this.
Step 1: Define the Function
Step 2: Apply the Filter for Demonstration
Step 3: Remove the Filter (Optional)