We needed one routine or feature,
Auto posting of Post from past based on some query (Query criteria is ok, that we can manage)
but need to know routine call via cron where given array of post ID gets autoposted on social media.
Please help how we can call to Autoposting function from our plugin code.
Like which class / files / frame work to include and call function by passing an array or iterating on for loop
Thanks for same in advance