Replies: 0
Hi, how can I get custom seo taxonomy data using a function?
for example, I am in taxonomy A and on this page I want to get taxonomy B data
This code didn’t help
YoastSEO()->meta->for_term(B_TERM_ID)->title
Because it contains of a variable like “%%term_title%%” and it doesn’t render
SEO Title in admin panel
%%term_title%% other text , content text
Because it contains of a variable like “%%term_title%%” and it doesn’t render
SEO Title in admin panel is —— %%term_title%% other text , content text
output of function —— other text , content text
expected result —— B CATEGORY NAME other text , content text