Skip to content

Commit b04223c

Browse files
committed
CRON unshakeled from init
1 parent 40eddeb commit b04223c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

autoload.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ final class PLUGIN_BUILD {
1515
/**
1616
* @var String
1717
*/
18-
protected $version = '1.3';
18+
protected $version = '1.4.2';
1919

2020

2121
/**
@@ -382,9 +382,10 @@ public function init() {
382382
add_filter( 'rest_authentication_errors', array( $this, 'prevent_unauthorized_rest_access' ) );
383383

384384
add_action( 'init', array( $this, 'installation' ) );
385-
add_action( 'init', array( $this, 'custom_cron_hook_cb' ) );
386385
add_action( 'init', array( $this, 'cpt' ) );
387386

387+
$this->custom_cron_hook_cb();
388+
388389
$this->scripts();
389390
$this->widgets();
390391
$this->metabox();

wp-plugin-framework.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: WordPress Plugin Framework
44
Plugin URI: https://github.com/nirjharlo/wp-plugin-framework/
55
Description: Simple and Light WordPress plugin development framework for organized Object Oriented code for Developers.
6-
Version: 1.4.1
6+
Version: 1.4.2
77
Author: Nirjhar Lo
88
Author URI: http://nirjharlo.com
99
Text Domain: textdomain

0 commit comments

Comments
 (0)