PluginProbe
AutomatorWP – No-Code Workflow Automation, Integration & Webhooks Plugin, now with AI / trunk
AutomatorWP – No-Code Workflow Automation, Integration & Webhooks Plugin, now with AI vtrunk
6.0.1 6.0.0 5.8.6 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.7.9.2 5.7.9.1 5.7.8 5.7.9 5.7.6 5.7.7 5.7.5 5.7.4 5.7.3 5.7.2 5.7.1 trunk 5.6.0 5.6.1 5.6.2 5.6.3 All 32 releases
automatorwp / integrations / wordpress / wordpress.php

wordpress.php in AutomatorWP – No-Code Workflow Automation, Integration & Webhooks Plugin, now with AI trunk, at integrations/wordpress/wordpress.php

101 lines 5.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * WordPress
4 *
5 * @package AutomatorWP\Integrations\WordPress
6 * @author AutomatorWP <contact@automatorwp.com>, Ruben Garcia <rubengcdev@gmail.com>
7 * @since 1.0.0
8 */
9 // Exit if accessed directly
10 if( !defined( 'ABSPATH' ) ) exit;
11
12 // Triggers
13 require_once plugin_dir_path( __FILE__ ) . 'triggers/register.php';
14 require_once plugin_dir_path( __FILE__ ) . 'triggers/login.php';
15 require_once plugin_dir_path( __FILE__ ) . 'triggers/visit-site.php';
16 require_once plugin_dir_path( __FILE__ ) . 'triggers/view-post.php';
17 require_once plugin_dir_path( __FILE__ ) . 'triggers/view-post-category.php';
18 require_once plugin_dir_path( __FILE__ ) . 'triggers/view-post-tag.php';
19 require_once plugin_dir_path( __FILE__ ) . 'triggers/view-page.php';
20 require_once plugin_dir_path( __FILE__ ) . 'triggers/view-post-type.php';
21 require_once plugin_dir_path( __FILE__ ) . 'triggers/view-post-taxonomy.php';
22 require_once plugin_dir_path( __FILE__ ) . 'triggers/publish-post.php';
23 require_once plugin_dir_path( __FILE__ ) . 'triggers/publish-post-category.php';
24 require_once plugin_dir_path( __FILE__ ) . 'triggers/publish-post-tag.php';
25 require_once plugin_dir_path( __FILE__ ) . 'triggers/publish-page.php';
26 require_once plugin_dir_path( __FILE__ ) . 'triggers/publish-post-type.php';
27 require_once plugin_dir_path( __FILE__ ) . 'triggers/publish-post-taxonomy.php';
28 require_once plugin_dir_path( __FILE__ ) . 'triggers/delete-post.php';
29 require_once plugin_dir_path( __FILE__ ) . 'triggers/delete-post-type.php';
30 require_once plugin_dir_path( __FILE__ ) . 'triggers/delete-post-taxonomy.php';
31 require_once plugin_dir_path( __FILE__ ) . 'triggers/post-type-status.php';
32 require_once plugin_dir_path( __FILE__ ) . 'triggers/comment-post.php';
33 require_once plugin_dir_path( __FILE__ ) . 'triggers/comment-post-category.php';
34 require_once plugin_dir_path( __FILE__ ) . 'triggers/comment-post-tag.php';
35 require_once plugin_dir_path( __FILE__ ) . 'triggers/comment-page.php';
36 require_once plugin_dir_path( __FILE__ ) . 'triggers/comment-post-type.php';
37 require_once plugin_dir_path( __FILE__ ) . 'triggers/comment-post-taxonomy.php';
38 require_once plugin_dir_path( __FILE__ ) . 'triggers/post-updated.php';
39 require_once plugin_dir_path( __FILE__ ) . 'triggers/post-type-updated.php';
40 require_once plugin_dir_path( __FILE__ ) . 'triggers/post-taxonomy-updated.php';
41 require_once plugin_dir_path( __FILE__ ) . 'triggers/post-field-updated.php';
42 require_once plugin_dir_path( __FILE__ ) . 'triggers/post-meta-update.php';
43 require_once plugin_dir_path( __FILE__ ) . 'triggers/post-type-meta-update.php';
44 require_once plugin_dir_path( __FILE__ ) . 'triggers/user-password-reset.php';
45 require_once plugin_dir_path( __FILE__ ) . 'triggers/user-field-update.php';
46 require_once plugin_dir_path( __FILE__ ) . 'triggers/user-meta-update.php';
47 require_once plugin_dir_path( __FILE__ ) . 'triggers/add-role.php';
48 require_once plugin_dir_path( __FILE__ ) . 'triggers/set-role.php';
49 require_once plugin_dir_path( __FILE__ ) . 'triggers/set-role-from-to.php';
50 require_once plugin_dir_path( __FILE__ ) . 'triggers/remove-role.php';
51 require_once plugin_dir_path( __FILE__ ) . 'triggers/user-deleted.php';
52 require_once plugin_dir_path( __FILE__ ) . 'triggers/option-updated.php';
53 require_once plugin_dir_path( __FILE__ ) . 'triggers/option-updated-anonymous.php';
54 // Anonymous Triggers
55 require_once plugin_dir_path( __FILE__ ) . 'triggers/anonymous-view-post.php';
56 require_once plugin_dir_path( __FILE__ ) . 'triggers/anonymous-view-page.php';
57 require_once plugin_dir_path( __FILE__ ) . 'triggers/anonymous-view-post-type.php';
58 require_once plugin_dir_path( __FILE__ ) . 'triggers/anonymous-view-post-taxonomy.php';
59 require_once plugin_dir_path( __FILE__ ) . 'triggers/anonymous-comment-post-type.php';
60 require_once plugin_dir_path( __FILE__ ) . 'triggers/anonymous-comment-post-taxonomy.php';
61 // Actions
62 require_once plugin_dir_path( __FILE__ ) . 'actions/send-email.php';
63 require_once plugin_dir_path( __FILE__ ) . 'actions/user-role.php';
64 require_once plugin_dir_path( __FILE__ ) . 'actions/create-user.php';
65 require_once plugin_dir_path( __FILE__ ) . 'actions/update-user.php';
66 require_once plugin_dir_path( __FILE__ ) . 'actions/user-meta.php';
67 require_once plugin_dir_path( __FILE__ ) . 'actions/delete-user.php';
68 require_once plugin_dir_path( __FILE__ ) . 'actions/create-post.php';
69 require_once plugin_dir_path( __FILE__ ) . 'actions/update-post.php';
70 require_once plugin_dir_path( __FILE__ ) . 'actions/update-multiple-posts.php';
71 require_once plugin_dir_path( __FILE__ ) . 'actions/post-meta.php';
72 require_once plugin_dir_path( __FILE__ ) . 'actions/delete-post.php';
73 require_once plugin_dir_path( __FILE__ ) . 'actions/delete-multiple-posts.php';
74 require_once plugin_dir_path( __FILE__ ) . 'actions/update-option.php';
75 require_once plugin_dir_path( __FILE__ ) . 'actions/delete-option.php';
76 // Filters
77 require_once plugin_dir_path( __FILE__ ) . 'filters/user-role.php';
78 require_once plugin_dir_path( __FILE__ ) . 'filters/user-exists.php';
79 require_once plugin_dir_path( __FILE__ ) . 'filters/user-field.php';
80 require_once plugin_dir_path( __FILE__ ) . 'filters/user-meta.php';
81 // Includes
82 require_once plugin_dir_path( __FILE__ ) . 'includes/ajax-functions.php';
83 require_once plugin_dir_path( __FILE__ ) . 'includes/functions.php';
84 require_once plugin_dir_path( __FILE__ ) . 'includes/scripts.php';
85 // Plugin URL
86 define( 'AUTOMATORWP_WORDPRESS_URL', plugin_dir_url( __FILE__ ) );
87
88 /**
89 * Registers this integration
90 *
91 * @since 1.0.0
92 */
93 function automatorwp_register_wordpress_integration() {
94
95 automatorwp_register_integration( 'wordpress', array(
96 'label' => 'WordPress',
97 'icon' => plugin_dir_url( __FILE__ ) . 'assets/wordpress.svg',
98 ) );
99
100 }
101 add_action( 'automatorwp_init', 'automatorwp_register_wordpress_integration', 1 );