Changeset 5233 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-manager.php
- Timestamp:
- 04/04/2017 04:59:12 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-manager.php
r4727 r5233 11 11 12 12 /** 13 * A static method for the cron trigger to fire.13 * Add all the actions for cron tasks and schedules. 14 14 */ 15 15 public function __construct() { 16 16 // Register all the cron task handlers. 17 add_action( ' admin_init', array( $this, 'register_cron_tasks' ) );17 add_action( 'init', array( $this, 'register_cron_tasks' ) ); 18 18 add_filter( 'cron_schedules', array( $this, 'register_schedules' ) ); 19 19
Note: See TracChangeset
for help on using the changeset viewer.