-
Hello,
I’d like to know how I can insert my focus keyword and meta description to my RankMath templates using the filters and API.
My API will post the article I want with this code:
post_data = {
'title': clean_meta_title,
'slug': focus_keyword,
'content': html_final, # Assign your HTML content here
'category': post_category, # Assign your category here
'tags': post_tags, # Assign your tags here
'status': 'publish',
'meta': {
'description': clean_meta_description,
}
}Is it possible for me to use the focus_keyword and clean_meta_description properties to be used for RankMath and automatically populate the two options in RankMath?
Thanks
The ticket ‘API and Filter help’ is closed to new replies.