4,554 reputation
21732
bio website blog.rutwick.com
location India
age 28
visits member for 4 years, 4 months
seen 11 hours ago

WordPress, PHP-MySQL, JavaScript and Python web developer, tea, good music and classic movies addict from India.


11h
comment API calls on plugin activation or init?
Please let me check it.
13h
accepted Set object terms not working on plugin activation
13h
answered Set object terms not working on plugin activation
13h
comment API calls on plugin activation or init?
A cron job is in discussion for updating the data in the future, since the data provider will have new data daily. How can I use a cron job and ensure that all my data is present when the site is accessed immediately after the plugin is activated?
13h
asked API calls on plugin activation or init?
Aug
28
comment Set object terms not working on plugin activation
Sounds good! I already upvoted that answer! But will post mine here and accept that. Thank you very much. You made me understand a fundamental issue.
Aug
28
comment Set object terms not working on plugin activation
Yes @Ignat.B! I should have read your comment earlier, it would have saved me some time in understanding the code. Thanks! Voted up.
Aug
28
comment Set object terms not working on plugin activation
@PieterGoosen Great! I read your answer thoroughly and realized you're registering the taxonomy on plugin activation and hooking it to the init action as suggested in the codex. Did the same and it worked. Please add an answer so that I can accept it!
Aug
27
comment Set object terms not working on plugin activation
If you read my question description, I am using the init hook to create the taxonomy. I am implementing the solution by @Pieter Goosen.
Aug
27
comment Set object terms not working on plugin activation
Thank you! Why doesn't it work just like register_post_type works on the init action hook?
Aug
27
asked Set object terms not working on plugin activation
Aug
18
awarded  Nice Answer
Aug
7
asked Best action hook to create custom post and assign taxonomy terms to it on plugin activation?
Aug
4
asked wp_insert_term or wp_set_object_terms not working in register_activation_hook?
Jul
28
awarded  Notable Question
Jul
24
awarded  Enlightened
Jul
24
awarded  Nice Answer
Jul
24
revised How to save an array with one metakey in postmeta?
added 3 characters in body
Jul
10
comment Namespaces in WordPress - How do I initiate the main class?
Thanks again. I will use only the class which serves as an entry to my code's execution.
Jul
9
accepted Namespaces in WordPress - How do I initiate the main class?