IT Nursery
my plugin has a save_post hook used to save the custom fields. now I add a publish_slider hook used to change a checkbox’s status(slider is a custom post type)....
  • June 1, 2022
  • 0 Comments
IT Nursery
I have a multi-author blog, on which there are two schedule cron functions. The first function moves all public posts in the pending status after 365 days: if( !...
  • June 1, 2022
  • 0 Comments
IT Nursery
Hi I want to get the post ID from the post selected in the insert/edit link button. I would normally do: <a data-id="<?php echo $post->ID; ?>" href="https://wordpress.stackexchange.com/questions/256062/<?php the_permalink();?>"> Sample...
  • June 1, 2022
  • 0 Comments