rankmath / seo-by-rank-math

Rank Math is a revolutionary WordPress SEO Plugin that combines the features of many SEO tools and lets you multiply your traffic in the easiest way possible :bulb: :chart_with_upwards_trend: →
https://rankmath.com
107 stars 52 forks source link

How to set RankMath attributes using Wordpress API in Python #152

Open shaharyar-sajid opened 1 year ago

shaharyar-sajid commented 1 year ago

I have been trying to set the RankMath attributes using the WordPress API but I haven't been successful. I have tried to pass them as keys in the post dictionary like post = { 'title' : post_object['title'], 'status' : 'draft', 'content' : content, 'categories': postobject['categories'], 'rankmath*': 'abc' }

and also as a key to the meta dict attribute but after posting the changes do take take effect.