File upload with meta box in wordpress

I created one custom post type and wanted functionality to upload image with meta box (add_meta_box). I tried so many articles.

Following tutorial saved my life.

File upload with add_meta_box or custom_post_type in wordpress

Advertisements

How To Use Cron to schedule events in your WordPress blog

As we all know cron job can be scheduled in linux systems.
So scheduling the any job in wordpress is easy because scheduling the events in wordpress is provided by wordpress itself.

WordPress provides the following functions to schedule the events.

wp_schedule_event(); //using this method you can schedule events.

More information you need to check following article

How To Use Cron to schedule events in your WordPress blog