Revision: 28062
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 30, 2010 05:35 by screamwork
Initial Code
if (!wp_next_scheduled('my_task_hook')) { wp_schedule_event( time(), 'hourly', 'my_task_hook' ); } add_action( 'my_task_hook', 'my_task_function' ); function my_task_function() { wp_mail('[email protected]', 'Automatic email', 'Hello, this is an automatically scheduled email from WordPress.'); }
Initial URL
Initial Description
Initial Title
scheduled event in Wordpress
Initial Tags
wordpress
Initial Language
PHP