@@ -65,14 +65,14 @@ discard block |
||
65 | 65 | WordPoints_Hook_Event_Args $event_args |
66 | 66 | ) { |
67 | 67 | |
68 | - if ( ! isset( $settings[ $this->slug ] ) ) { |
|
68 | + if ( ! isset($settings[$this->slug])) { |
|
69 | 69 | return $settings; |
70 | 70 | } |
71 | 71 | |
72 | - if ( ! is_array( $settings[ $this->slug ] ) ) { |
|
72 | + if ( ! is_array($settings[$this->slug])) { |
|
73 | 73 | |
74 | 74 | $validator->add_error( |
75 | - __( 'Invalid settings format.', 'wordpoints' ) |
|
75 | + __('Invalid settings format.', 'wordpoints') |
|
76 | 76 | , $this->slug |
77 | 77 | ); |
78 | 78 | |
@@ -82,13 +82,13 @@ discard block |
||
82 | 82 | $this->validator = $validator; |
83 | 83 | $this->event_args = $event_args; |
84 | 84 | |
85 | - $this->validator->push_field( $this->slug ); |
|
85 | + $this->validator->push_field($this->slug); |
|
86 | 86 | |
87 | - foreach ( $settings[ $this->slug ] as $action_type => $action_type_settings ) { |
|
87 | + foreach ($settings[$this->slug] as $action_type => $action_type_settings) { |
|
88 | 88 | |
89 | - $this->validator->push_field( $action_type ); |
|
89 | + $this->validator->push_field($action_type); |
|
90 | 90 | |
91 | - $settings[ $this->slug ][ $action_type ] = $this->validate_action_type_settings( |
|
91 | + $settings[$this->slug][$action_type] = $this->validate_action_type_settings( |
|
92 | 92 | $action_type_settings |
93 | 93 | ); |
94 | 94 | |
@@ -103,12 +103,12 @@ discard block |
||
103 | 103 | /** |
104 | 104 | * @since 1.0.0 |
105 | 105 | */ |
106 | - public function update_settings( WordPoints_Hook_ReactionI $reaction, array $settings ) { |
|
106 | + public function update_settings(WordPoints_Hook_ReactionI $reaction, array $settings) { |
|
107 | 107 | |
108 | - if ( isset( $settings[ $this->slug ] ) ) { |
|
109 | - $reaction->update_meta( $this->slug, $settings[ $this->slug ] ); |
|
108 | + if (isset($settings[$this->slug])) { |
|
109 | + $reaction->update_meta($this->slug, $settings[$this->slug]); |
|
110 | 110 | } else { |
111 | - $reaction->delete_meta( $this->slug ); |
|
111 | + $reaction->delete_meta($this->slug); |
|
112 | 112 | } |
113 | 113 | } |
114 | 114 | |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | * |
122 | 122 | * @return mixed The validated settings. |
123 | 123 | */ |
124 | - protected function validate_action_type_settings( $settings ) { |
|
124 | + protected function validate_action_type_settings($settings) { |
|
125 | 125 | return $settings; |
126 | 126 | } |
127 | 127 | |
@@ -138,16 +138,16 @@ discard block |
||
138 | 138 | * |
139 | 139 | * @return mixed The settings for the extension, or false if none. |
140 | 140 | */ |
141 | - protected function get_settings_from_fire( WordPoints_Hook_Fire $fire ) { |
|
141 | + protected function get_settings_from_fire(WordPoints_Hook_Fire $fire) { |
|
142 | 142 | |
143 | - $settings = $fire->reaction->get_meta( $this->slug ); |
|
143 | + $settings = $fire->reaction->get_meta($this->slug); |
|
144 | 144 | |
145 | - if ( ! is_array( $settings ) ) { |
|
145 | + if ( ! is_array($settings)) { |
|
146 | 146 | return $settings; |
147 | 147 | } |
148 | 148 | |
149 | - if ( isset( $settings[ $fire->action_type ] ) ) { |
|
150 | - return $settings[ $fire->action_type ]; |
|
149 | + if (isset($settings[$fire->action_type])) { |
|
150 | + return $settings[$fire->action_type]; |
|
151 | 151 | } else { |
152 | 152 | return false; |
153 | 153 | } |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | * |
163 | 163 | * @return bool Whether the target should be hit by this hook firing. |
164 | 164 | */ |
165 | - abstract public function should_hit( WordPoints_Hook_Fire $fire ); |
|
165 | + abstract public function should_hit(WordPoints_Hook_Fire $fire); |
|
166 | 166 | |
167 | 167 | /** |
168 | 168 | * After a reaction has hit the target. |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | * |
172 | 172 | * @param WordPoints_Hook_Fire $fire The hook fire object. |
173 | 173 | */ |
174 | - public function after_hit( WordPoints_Hook_Fire $fire ) {} |
|
174 | + public function after_hit(WordPoints_Hook_Fire $fire) {} |
|
175 | 175 | |
176 | 176 | /** |
177 | 177 | * Get the data the scripts need for the UI. |
@@ -46,13 +46,13 @@ discard block |
||
46 | 46 | protected function init() { |
47 | 47 | |
48 | 48 | $sub_apps = $this->sub_apps; |
49 | - $sub_apps->register( 'router', 'WordPoints_Hook_Router' ); |
|
50 | - $sub_apps->register( 'actions', 'WordPoints_Hook_Actions' ); |
|
51 | - $sub_apps->register( 'events', 'WordPoints_Hook_Events' ); |
|
52 | - $sub_apps->register( 'reactors', 'WordPoints_Class_Registry_Persistent' ); |
|
53 | - $sub_apps->register( 'reaction_stores', 'WordPoints_Class_Registry_Children' ); |
|
54 | - $sub_apps->register( 'extensions', 'WordPoints_Class_Registry_Persistent' ); |
|
55 | - $sub_apps->register( 'conditions', 'WordPoints_Class_Registry_Children' ); |
|
49 | + $sub_apps->register('router', 'WordPoints_Hook_Router'); |
|
50 | + $sub_apps->register('actions', 'WordPoints_Hook_Actions'); |
|
51 | + $sub_apps->register('events', 'WordPoints_Hook_Events'); |
|
52 | + $sub_apps->register('reactors', 'WordPoints_Class_Registry_Persistent'); |
|
53 | + $sub_apps->register('reaction_stores', 'WordPoints_Class_Registry_Children'); |
|
54 | + $sub_apps->register('extensions', 'WordPoints_Class_Registry_Persistent'); |
|
55 | + $sub_apps->register('conditions', 'WordPoints_Class_Registry_Children'); |
|
56 | 56 | |
57 | 57 | parent::init(); |
58 | 58 | } |
@@ -75,8 +75,8 @@ discard block |
||
75 | 75 | */ |
76 | 76 | public function get_current_mode() { |
77 | 77 | |
78 | - if ( ! isset( $this->current_mode ) ) { |
|
79 | - $this->current_mode = ( wordpoints_is_network_context() ? 'network' : 'standard' ); |
|
78 | + if ( ! isset($this->current_mode)) { |
|
79 | + $this->current_mode = (wordpoints_is_network_context() ? 'network' : 'standard'); |
|
80 | 80 | } |
81 | 81 | |
82 | 82 | return $this->current_mode; |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | * |
95 | 95 | * @param string $mode The slug of the mode to set as the current mode. |
96 | 96 | */ |
97 | - public function set_current_mode( $mode ) { |
|
97 | + public function set_current_mode($mode) { |
|
98 | 98 | $this->current_mode = $mode; |
99 | 99 | } |
100 | 100 | } |
@@ -10,108 +10,108 @@ |
||
10 | 10 | */ |
11 | 11 | |
12 | 12 | // auto-generated { |
13 | -require_once( dirname( __FILE__ ) . 'app.php' ); |
|
14 | -require_once( dirname( __FILE__ ) . 'app/registry.php' ); |
|
15 | -require_once( dirname( __FILE__ ) . 'class/autoloader.php' ); |
|
16 | -require_once( dirname( __FILE__ ) . 'class/registry.php' ); |
|
17 | -require_once( dirname( __FILE__ ) . 'class/registry/children.php' ); |
|
18 | -require_once( dirname( __FILE__ ) . 'class/registry/childreni.php' ); |
|
19 | -require_once( dirname( __FILE__ ) . 'class/registry/persistent.php' ); |
|
20 | -require_once( dirname( __FILE__ ) . 'class/registryi.php' ); |
|
21 | -require_once( dirname( __FILE__ ) . 'data/type.php' ); |
|
22 | -require_once( dirname( __FILE__ ) . 'data/type/integer.php' ); |
|
23 | -require_once( dirname( __FILE__ ) . 'data/type/text.php' ); |
|
24 | -require_once( dirname( __FILE__ ) . 'data/typei.php' ); |
|
25 | -require_once( dirname( __FILE__ ) . 'db/query.php' ); |
|
26 | -require_once( dirname( __FILE__ ) . 'entity.php' ); |
|
27 | -require_once( dirname( __FILE__ ) . 'entity/array.php' ); |
|
28 | -require_once( dirname( __FILE__ ) . 'entity/attr.php' ); |
|
29 | -require_once( dirname( __FILE__ ) . 'entity/childi.php' ); |
|
30 | -require_once( dirname( __FILE__ ) . 'entity/comment.php' ); |
|
31 | -require_once( dirname( __FILE__ ) . 'entity/comment/author.php' ); |
|
32 | -require_once( dirname( __FILE__ ) . 'entity/comment/post.php' ); |
|
33 | -require_once( dirname( __FILE__ ) . 'entity/context.php' ); |
|
34 | -require_once( dirname( __FILE__ ) . 'entity/context/network.php' ); |
|
35 | -require_once( dirname( __FILE__ ) . 'entity/context/site.php' ); |
|
36 | -require_once( dirname( __FILE__ ) . 'entity/enumerablei.php' ); |
|
37 | -require_once( dirname( __FILE__ ) . 'entity/hierarchy.php' ); |
|
38 | -require_once( dirname( __FILE__ ) . 'entity/hierarchyi.php' ); |
|
39 | -require_once( dirname( __FILE__ ) . 'entity/parenti.php' ); |
|
40 | -require_once( dirname( __FILE__ ) . 'entity/post.php' ); |
|
41 | -require_once( dirname( __FILE__ ) . 'entity/post/author.php' ); |
|
42 | -require_once( dirname( __FILE__ ) . 'entity/post/content.php' ); |
|
43 | -require_once( dirname( __FILE__ ) . 'entity/post/terms.php' ); |
|
44 | -require_once( dirname( __FILE__ ) . 'entity/post/type.php' ); |
|
45 | -require_once( dirname( __FILE__ ) . 'entity/post/type/name.php' ); |
|
46 | -require_once( dirname( __FILE__ ) . 'entity/post/type/relationship.php' ); |
|
47 | -require_once( dirname( __FILE__ ) . 'entity/relationship.php' ); |
|
48 | -require_once( dirname( __FILE__ ) . 'entity/relationship/dynamic.php' ); |
|
49 | -require_once( dirname( __FILE__ ) . 'entity/restricted/visibilityi.php' ); |
|
50 | -require_once( dirname( __FILE__ ) . 'entity/site.php' ); |
|
51 | -require_once( dirname( __FILE__ ) . 'entity/term.php' ); |
|
52 | -require_once( dirname( __FILE__ ) . 'entity/term/id.php' ); |
|
53 | -require_once( dirname( __FILE__ ) . 'entity/user.php' ); |
|
54 | -require_once( dirname( __FILE__ ) . 'entity/user/role.php' ); |
|
55 | -require_once( dirname( __FILE__ ) . 'entity/user/role/name.php' ); |
|
56 | -require_once( dirname( __FILE__ ) . 'entity/user/roles.php' ); |
|
57 | -require_once( dirname( __FILE__ ) . 'entityish.php' ); |
|
58 | -require_once( dirname( __FILE__ ) . 'entityishi.php' ); |
|
59 | -require_once( dirname( __FILE__ ) . 'hierarchy.php' ); |
|
60 | -require_once( dirname( __FILE__ ) . 'hook/action.php' ); |
|
61 | -require_once( dirname( __FILE__ ) . 'hook/action/comment/new.php' ); |
|
62 | -require_once( dirname( __FILE__ ) . 'hook/action/post/publish.php' ); |
|
63 | -require_once( dirname( __FILE__ ) . 'hook/actioni.php' ); |
|
64 | -require_once( dirname( __FILE__ ) . 'hook/actions.php' ); |
|
65 | -require_once( dirname( __FILE__ ) . 'hook/arg.php' ); |
|
66 | -require_once( dirname( __FILE__ ) . 'hook/arg/current/post.php' ); |
|
67 | -require_once( dirname( __FILE__ ) . 'hook/arg/current/site.php' ); |
|
68 | -require_once( dirname( __FILE__ ) . 'hook/arg/current/user.php' ); |
|
69 | -require_once( dirname( __FILE__ ) . 'hook/arg/dynamic.php' ); |
|
70 | -require_once( dirname( __FILE__ ) . 'hook/condition.php' ); |
|
71 | -require_once( dirname( __FILE__ ) . 'hook/condition/entity/array/contains.php' ); |
|
72 | -require_once( dirname( __FILE__ ) . 'hook/condition/equals.php' ); |
|
73 | -require_once( dirname( __FILE__ ) . 'hook/condition/string/contains.php' ); |
|
74 | -require_once( dirname( __FILE__ ) . 'hook/conditioni.php' ); |
|
75 | -require_once( dirname( __FILE__ ) . 'hook/event.php' ); |
|
76 | -require_once( dirname( __FILE__ ) . 'hook/event/args.php' ); |
|
77 | -require_once( dirname( __FILE__ ) . 'hook/event/comment/leave.php' ); |
|
78 | -require_once( dirname( __FILE__ ) . 'hook/event/dynamic.php' ); |
|
79 | -require_once( dirname( __FILE__ ) . 'hook/event/media/upload.php' ); |
|
80 | -require_once( dirname( __FILE__ ) . 'hook/event/post/publish.php' ); |
|
81 | -require_once( dirname( __FILE__ ) . 'hook/event/user/register.php' ); |
|
82 | -require_once( dirname( __FILE__ ) . 'hook/event/user/visit.php' ); |
|
83 | -require_once( dirname( __FILE__ ) . 'hook/eventi.php' ); |
|
84 | -require_once( dirname( __FILE__ ) . 'hook/events.php' ); |
|
85 | -require_once( dirname( __FILE__ ) . 'hook/extension.php' ); |
|
86 | -require_once( dirname( __FILE__ ) . 'hook/extension/blocker.php' ); |
|
87 | -require_once( dirname( __FILE__ ) . 'hook/extension/conditions.php' ); |
|
88 | -require_once( dirname( __FILE__ ) . 'hook/extension/periods.php' ); |
|
89 | -require_once( dirname( __FILE__ ) . 'hook/fire.php' ); |
|
90 | -require_once( dirname( __FILE__ ) . 'hook/hit/logger.php' ); |
|
91 | -require_once( dirname( __FILE__ ) . 'hook/hit/query.php' ); |
|
92 | -require_once( dirname( __FILE__ ) . 'hook/reaction.php' ); |
|
93 | -require_once( dirname( __FILE__ ) . 'hook/reaction/options.php' ); |
|
94 | -require_once( dirname( __FILE__ ) . 'hook/reaction/store.php' ); |
|
95 | -require_once( dirname( __FILE__ ) . 'hook/reaction/store/options.php' ); |
|
96 | -require_once( dirname( __FILE__ ) . 'hook/reaction/store/options/network.php' ); |
|
97 | -require_once( dirname( __FILE__ ) . 'hook/reaction/storei.php' ); |
|
98 | -require_once( dirname( __FILE__ ) . 'hook/reaction/validator.php' ); |
|
99 | -require_once( dirname( __FILE__ ) . 'hook/reactioni.php' ); |
|
100 | -require_once( dirname( __FILE__ ) . 'hook/reactor.php' ); |
|
101 | -require_once( dirname( __FILE__ ) . 'hook/reactor/points.php' ); |
|
102 | -require_once( dirname( __FILE__ ) . 'hook/retroactive/conditions.php' ); |
|
103 | -require_once( dirname( __FILE__ ) . 'hook/retroactive/query.php' ); |
|
104 | -require_once( dirname( __FILE__ ) . 'hook/retroactive/query/modifieri.php' ); |
|
105 | -require_once( dirname( __FILE__ ) . 'hook/retroactive/queryable.php' ); |
|
106 | -require_once( dirname( __FILE__ ) . 'hook/retroactive/queryi.php' ); |
|
107 | -require_once( dirname( __FILE__ ) . 'hook/router.php' ); |
|
108 | -require_once( dirname( __FILE__ ) . 'hook/settings.php' ); |
|
109 | -require_once( dirname( __FILE__ ) . 'hook/settingsi.php' ); |
|
110 | -require_once( dirname( __FILE__ ) . 'hook/validator/exception.php' ); |
|
111 | -require_once( dirname( __FILE__ ) . 'hooks.php' ); |
|
112 | -require_once( dirname( __FILE__ ) . 'query/builder/db/mysql.php' ); |
|
113 | -require_once( dirname( __FILE__ ) . 'spec.php' ); |
|
114 | -require_once( dirname( __FILE__ ) . 'specedi.php' ); |
|
13 | +require_once(dirname(__FILE__).'app.php'); |
|
14 | +require_once(dirname(__FILE__).'app/registry.php'); |
|
15 | +require_once(dirname(__FILE__).'class/autoloader.php'); |
|
16 | +require_once(dirname(__FILE__).'class/registry.php'); |
|
17 | +require_once(dirname(__FILE__).'class/registry/children.php'); |
|
18 | +require_once(dirname(__FILE__).'class/registry/childreni.php'); |
|
19 | +require_once(dirname(__FILE__).'class/registry/persistent.php'); |
|
20 | +require_once(dirname(__FILE__).'class/registryi.php'); |
|
21 | +require_once(dirname(__FILE__).'data/type.php'); |
|
22 | +require_once(dirname(__FILE__).'data/type/integer.php'); |
|
23 | +require_once(dirname(__FILE__).'data/type/text.php'); |
|
24 | +require_once(dirname(__FILE__).'data/typei.php'); |
|
25 | +require_once(dirname(__FILE__).'db/query.php'); |
|
26 | +require_once(dirname(__FILE__).'entity.php'); |
|
27 | +require_once(dirname(__FILE__).'entity/array.php'); |
|
28 | +require_once(dirname(__FILE__).'entity/attr.php'); |
|
29 | +require_once(dirname(__FILE__).'entity/childi.php'); |
|
30 | +require_once(dirname(__FILE__).'entity/comment.php'); |
|
31 | +require_once(dirname(__FILE__).'entity/comment/author.php'); |
|
32 | +require_once(dirname(__FILE__).'entity/comment/post.php'); |
|
33 | +require_once(dirname(__FILE__).'entity/context.php'); |
|
34 | +require_once(dirname(__FILE__).'entity/context/network.php'); |
|
35 | +require_once(dirname(__FILE__).'entity/context/site.php'); |
|
36 | +require_once(dirname(__FILE__).'entity/enumerablei.php'); |
|
37 | +require_once(dirname(__FILE__).'entity/hierarchy.php'); |
|
38 | +require_once(dirname(__FILE__).'entity/hierarchyi.php'); |
|
39 | +require_once(dirname(__FILE__).'entity/parenti.php'); |
|
40 | +require_once(dirname(__FILE__).'entity/post.php'); |
|
41 | +require_once(dirname(__FILE__).'entity/post/author.php'); |
|
42 | +require_once(dirname(__FILE__).'entity/post/content.php'); |
|
43 | +require_once(dirname(__FILE__).'entity/post/terms.php'); |
|
44 | +require_once(dirname(__FILE__).'entity/post/type.php'); |
|
45 | +require_once(dirname(__FILE__).'entity/post/type/name.php'); |
|
46 | +require_once(dirname(__FILE__).'entity/post/type/relationship.php'); |
|
47 | +require_once(dirname(__FILE__).'entity/relationship.php'); |
|
48 | +require_once(dirname(__FILE__).'entity/relationship/dynamic.php'); |
|
49 | +require_once(dirname(__FILE__).'entity/restricted/visibilityi.php'); |
|
50 | +require_once(dirname(__FILE__).'entity/site.php'); |
|
51 | +require_once(dirname(__FILE__).'entity/term.php'); |
|
52 | +require_once(dirname(__FILE__).'entity/term/id.php'); |
|
53 | +require_once(dirname(__FILE__).'entity/user.php'); |
|
54 | +require_once(dirname(__FILE__).'entity/user/role.php'); |
|
55 | +require_once(dirname(__FILE__).'entity/user/role/name.php'); |
|
56 | +require_once(dirname(__FILE__).'entity/user/roles.php'); |
|
57 | +require_once(dirname(__FILE__).'entityish.php'); |
|
58 | +require_once(dirname(__FILE__).'entityishi.php'); |
|
59 | +require_once(dirname(__FILE__).'hierarchy.php'); |
|
60 | +require_once(dirname(__FILE__).'hook/action.php'); |
|
61 | +require_once(dirname(__FILE__).'hook/action/comment/new.php'); |
|
62 | +require_once(dirname(__FILE__).'hook/action/post/publish.php'); |
|
63 | +require_once(dirname(__FILE__).'hook/actioni.php'); |
|
64 | +require_once(dirname(__FILE__).'hook/actions.php'); |
|
65 | +require_once(dirname(__FILE__).'hook/arg.php'); |
|
66 | +require_once(dirname(__FILE__).'hook/arg/current/post.php'); |
|
67 | +require_once(dirname(__FILE__).'hook/arg/current/site.php'); |
|
68 | +require_once(dirname(__FILE__).'hook/arg/current/user.php'); |
|
69 | +require_once(dirname(__FILE__).'hook/arg/dynamic.php'); |
|
70 | +require_once(dirname(__FILE__).'hook/condition.php'); |
|
71 | +require_once(dirname(__FILE__).'hook/condition/entity/array/contains.php'); |
|
72 | +require_once(dirname(__FILE__).'hook/condition/equals.php'); |
|
73 | +require_once(dirname(__FILE__).'hook/condition/string/contains.php'); |
|
74 | +require_once(dirname(__FILE__).'hook/conditioni.php'); |
|
75 | +require_once(dirname(__FILE__).'hook/event.php'); |
|
76 | +require_once(dirname(__FILE__).'hook/event/args.php'); |
|
77 | +require_once(dirname(__FILE__).'hook/event/comment/leave.php'); |
|
78 | +require_once(dirname(__FILE__).'hook/event/dynamic.php'); |
|
79 | +require_once(dirname(__FILE__).'hook/event/media/upload.php'); |
|
80 | +require_once(dirname(__FILE__).'hook/event/post/publish.php'); |
|
81 | +require_once(dirname(__FILE__).'hook/event/user/register.php'); |
|
82 | +require_once(dirname(__FILE__).'hook/event/user/visit.php'); |
|
83 | +require_once(dirname(__FILE__).'hook/eventi.php'); |
|
84 | +require_once(dirname(__FILE__).'hook/events.php'); |
|
85 | +require_once(dirname(__FILE__).'hook/extension.php'); |
|
86 | +require_once(dirname(__FILE__).'hook/extension/blocker.php'); |
|
87 | +require_once(dirname(__FILE__).'hook/extension/conditions.php'); |
|
88 | +require_once(dirname(__FILE__).'hook/extension/periods.php'); |
|
89 | +require_once(dirname(__FILE__).'hook/fire.php'); |
|
90 | +require_once(dirname(__FILE__).'hook/hit/logger.php'); |
|
91 | +require_once(dirname(__FILE__).'hook/hit/query.php'); |
|
92 | +require_once(dirname(__FILE__).'hook/reaction.php'); |
|
93 | +require_once(dirname(__FILE__).'hook/reaction/options.php'); |
|
94 | +require_once(dirname(__FILE__).'hook/reaction/store.php'); |
|
95 | +require_once(dirname(__FILE__).'hook/reaction/store/options.php'); |
|
96 | +require_once(dirname(__FILE__).'hook/reaction/store/options/network.php'); |
|
97 | +require_once(dirname(__FILE__).'hook/reaction/storei.php'); |
|
98 | +require_once(dirname(__FILE__).'hook/reaction/validator.php'); |
|
99 | +require_once(dirname(__FILE__).'hook/reactioni.php'); |
|
100 | +require_once(dirname(__FILE__).'hook/reactor.php'); |
|
101 | +require_once(dirname(__FILE__).'hook/reactor/points.php'); |
|
102 | +require_once(dirname(__FILE__).'hook/retroactive/conditions.php'); |
|
103 | +require_once(dirname(__FILE__).'hook/retroactive/query.php'); |
|
104 | +require_once(dirname(__FILE__).'hook/retroactive/query/modifieri.php'); |
|
105 | +require_once(dirname(__FILE__).'hook/retroactive/queryable.php'); |
|
106 | +require_once(dirname(__FILE__).'hook/retroactive/queryi.php'); |
|
107 | +require_once(dirname(__FILE__).'hook/router.php'); |
|
108 | +require_once(dirname(__FILE__).'hook/settings.php'); |
|
109 | +require_once(dirname(__FILE__).'hook/settingsi.php'); |
|
110 | +require_once(dirname(__FILE__).'hook/validator/exception.php'); |
|
111 | +require_once(dirname(__FILE__).'hooks.php'); |
|
112 | +require_once(dirname(__FILE__).'query/builder/db/mysql.php'); |
|
113 | +require_once(dirname(__FILE__).'spec.php'); |
|
114 | +require_once(dirname(__FILE__).'specedi.php'); |
|
115 | 115 | // } |
116 | 116 | |
117 | 117 | // EOF |
@@ -7,25 +7,25 @@ |
||
7 | 7 | * @since 1.0.0 |
8 | 8 | */ |
9 | 9 | |
10 | -add_action( 'wordpoints_init_app-apps', 'wordpoints_apps_init' ); |
|
11 | -add_action( 'wordpoints_init_app-entities', 'wordpoints_entities_app_init' ); |
|
10 | +add_action('wordpoints_init_app-apps', 'wordpoints_apps_init'); |
|
11 | +add_action('wordpoints_init_app-entities', 'wordpoints_entities_app_init'); |
|
12 | 12 | |
13 | -add_action( 'wordpoints_init_app_registry-apps-entities', 'wordpoints_entities_init' ); |
|
14 | -add_action( 'wordpoints_init_app_registry-entities-contexts', 'wordpoints_entity_contexts_init' ); |
|
13 | +add_action('wordpoints_init_app_registry-apps-entities', 'wordpoints_entities_init'); |
|
14 | +add_action('wordpoints_init_app_registry-entities-contexts', 'wordpoints_entity_contexts_init'); |
|
15 | 15 | |
16 | -add_action( 'wordpoints_init_app_registry-apps-data_types', 'wordpoints_data_types_init' ); |
|
16 | +add_action('wordpoints_init_app_registry-apps-data_types', 'wordpoints_data_types_init'); |
|
17 | 17 | |
18 | -add_action( 'wordpoints_init_app_registry-hooks-events', 'wordpoints_hook_events_init' ); |
|
19 | -add_action( 'wordpoints_init_app_registry-hooks-actions', 'wordpoints_hook_actions_init' ); |
|
20 | -add_action( 'wordpoints_init_app_registry-hooks-reactors', 'wordpoints_hook_reactors_init' ); |
|
21 | -add_action( 'wordpoints_init_app_registry-hooks-reaction_stores', 'wordpoints_hook_reaction_stores_init' ); |
|
22 | -add_action( 'wordpoints_init_app_registry-hooks-extensions', 'wordpoints_hook_extension_init' ); |
|
23 | -add_action( 'wordpoints_init_app_registry-hooks-conditions', 'wordpoints_hook_conditions_init' ); |
|
18 | +add_action('wordpoints_init_app_registry-hooks-events', 'wordpoints_hook_events_init'); |
|
19 | +add_action('wordpoints_init_app_registry-hooks-actions', 'wordpoints_hook_actions_init'); |
|
20 | +add_action('wordpoints_init_app_registry-hooks-reactors', 'wordpoints_hook_reactors_init'); |
|
21 | +add_action('wordpoints_init_app_registry-hooks-reaction_stores', 'wordpoints_hook_reaction_stores_init'); |
|
22 | +add_action('wordpoints_init_app_registry-hooks-extensions', 'wordpoints_hook_extension_init'); |
|
23 | +add_action('wordpoints_init_app_registry-hooks-conditions', 'wordpoints_hook_conditions_init'); |
|
24 | 24 | |
25 | -add_action( 'wordpoints_modules_loaded', 'wordpoints_init_hooks' ); |
|
25 | +add_action('wordpoints_modules_loaded', 'wordpoints_init_hooks'); |
|
26 | 26 | |
27 | -add_action( 'init', 'wordpoints_hooks_api_add_global_cache_groups', 5 ); |
|
27 | +add_action('init', 'wordpoints_hooks_api_add_global_cache_groups', 5); |
|
28 | 28 | |
29 | -add_filter( 'wordpoints_user_can_view_points_log', 'wordpoints_hooks_user_can_view_points_log' ); |
|
29 | +add_filter('wordpoints_user_can_view_points_log', 'wordpoints_hooks_user_can_view_points_log'); |
|
30 | 30 | |
31 | 31 | // EOF |