I need to rewrite a line from a Wordpress Plugin using functions.php, I tried to use add_filter but it does not work.
Basically I need to do so, this is an example of the original line:
$return = $post->post_title;
However, I need through the functions.php to leave it like this:
$return = strtoupper($post->post_title);
Is there any possibility for this?