Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Just wondering how to filter to change the current page title from a shortcode,
Since shortocodes are rendering after $post.
any idea to archieve something like : do_shortcode(['mytitle="newtitle"']);
why not to use the_title filter?
$post = get_post(get_the_id());
//enter code here
as for shortcode - its imposible. in logical way - imposible.
Required, but never shown