PluginProbe
Taskbuilder – Project Management & Task Management Tool With Kanban Board / trunk
Taskbuilder – Project Management & Task Management Tool With Kanban Board vtrunk
6.0.5 6.0.2 6.0.3 6.0.4 6.0.1 6.0.0 5.0.8 5.0.9 4.0.9 5.0.0 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 All 57 releases
taskbuilder / includes / wppm_actions.php

wppm_actions.php in Taskbuilder – Project Management & Task Management Tool With Kanban Board trunk, at includes/wppm_actions.php

25 lines 582 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly
4 }
5 if ( ! class_exists( 'WPPM_Actions' ) ) :
6
7 final class WPPM_Actions {
8 // constructor
9 public function __construct() {
10 add_action( 'init', array( $this, 'wppm_load_actions') );
11 }
12
13 // Load actions
14 function wppm_load_actions() {
15 add_action( 'wppm_cron_daily', array($this,'wppm_check_cron_attachment') );
16 }
17
18 function wppm_check_cron_attachment(){
19 include WPPM_ABSPATH.'includes/actions/wppm_check_cron_attachment.php';
20 }
21
22 }
23 endif;
24
25 new WPPM_Actions();