Move posts category to an other one in a specific period time
I’m looking for some Php code to automatically change posts category after
specific period time (ex. : 2 * 86400 = 48 hours after publishing ), this mean every post in category X will move to category X2 one by one after 86400 seconds (24hrs) since publish time.
I found :
all of this codes works Okay to gather :
The post by ID 64 will remove from cat2 after 48Hrs, but I need it to move all posts(every post published 48Hrs ago NOT 2days ago) from cat2 to cat3.
May somebody help please?
all suggestions are welcomed :).
- The topic ‘Move posts category to an other one in a specific period time’ is closed to new replies.