Advertisement
verygoodplugins

Untitled

Mar 26th, 2021
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.88 KB | None | 0 0
  1. Searching 388 files for "add_action( 'wpf_tags_modified"
  2.  
  3. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-accessally.php:
  4. 24
  5. 25 // Tag syncing hooks
  6. 26: add_action( 'wpf_tags_modified', array( $this, 'wpf_tags_modified' ), 10, 2 );
  7. 27 add_action( 'updated_user_meta', array( $this, 'aa_tags_modified' ), 10, 4 );
  8. 28 add_action( 'added_user_meta', array( $this, 'aa_tags_modified' ), 10, 4 );
  9. ..
  10. 365 }
  11. 366
  12. 367: add_action( 'wpf_tags_modified', array( $this, 'wpf_tags_modified' ), 10, 2 );
  13. 368
  14. 369 }
  15.  
  16. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-badgeos.php:
  17. 33
  18. 34 // Assign / remove linked badges
  19. 35: add_action( 'wpf_tags_modified', array( $this, 'update_linked_achievements' ), 10, 2 );
  20. 36
  21. 37 // Meta boxes
  22.  
  23. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-bp-account-deactivator.php:
  24. 19 $this->slug = 'bp-account-deactivator';
  25. 20
  26. 21: add_action( 'wpf_tags_modified', array( $this, 'tags_modified' ), 10, 2 );
  27. 22
  28. 23 add_filter( 'wpf_configure_sections', array( $this, 'configure_sections' ), 10, 2 );
  29.  
  30. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-buddypress.php:
  31. 60 add_action( 'bp_groups_admin_meta_boxes', array( $this, 'add_meta_box_groups' ) );
  32. 61 add_action( 'bp_group_admin_edit_after', array( $this, 'save_groups_data' ), 20 );
  33. 62: add_action( 'wpf_tags_modified', array( $this, 'update_group_access' ), 9, 2 ); // This is 9 so that the user is in the correct groups by the time LearnDash (maybe) runs to update their courses
  34. 63
  35. 64 // Group joins and leaves
  36. ..
  37. 97 add_action( 'add_meta_boxes', array( $this, 'add_profile_type_meta_box' ), 10, 2 );
  38. 98 add_action( 'save_post', array( $this, 'save_profile_type_meta_box_data' ), 10 );
  39. 99: add_action( 'wpf_tags_modified', array( $this, 'update_profile_types' ), 10, 2 );
  40. 100 add_action( 'bp_set_member_type', array( $this, 'set_member_type' ), 10, 3 );
  41. 101 add_action( 'bp_remove_member_type', array( $this, 'remove_member_type' ), 10, 2 );
  42. ...
  43. 852 wp_fusion()->user->apply_tags( $apply_tags, $user_id );
  44. 853
  45. 854: add_action( 'wpf_tags_modified', array( $this, 'update_group_access' ), 10, 2 );
  46. 855
  47. 856 }
  48. ...
  49. 892 wp_fusion()->user->remove_tags( $settings['tag_link'], $user_id );
  50. 893
  51. 894: add_action( 'wpf_tags_modified', array( $this, 'update_group_access' ), 10, 2 );
  52. 895
  53. 896 }
  54. ...
  55. 1440 }
  56. 1441
  57. 1442: add_action( 'wpf_tags_modified', array( $this, 'update_profile_types' ), 10, 2 );
  58. 1443
  59. 1444 // Sync the name
  60. ....
  61. 1487 wp_fusion()->user->remove_tags( $settings['tag_link'], $user_id );
  62. 1488
  63. 1489: add_action( 'wpf_tags_modified', array( $this, 'update_profile_types' ), 10, 2 );
  64. 1490
  65. 1491 }
  66.  
  67. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-courseware.php:
  68. 31 add_action( 'wpcw_enroll_user', array($this, 'enroll_user'), 10, 2 );
  69. 32 add_action( 'wpcw_unenroll_user', array($this, 'unenroll_user'), 10, 2 );
  70. 33: add_action( 'wpf_tags_modified', array( $this, 'update_course_access' ), 10, 2 );
  71. 34
  72. 35 }
  73. ..
  74. 64 wp_fusion()->user->apply_tags( $wpf_settings[ $course_id ]['tag_link'], $user_id );
  75. 65
  76. 66: add_action( 'wpf_tags_modified', array( $this, 'update_course_access' ), 10, 2 );
  77. 67
  78. 68 }
  79. ..
  80. 95 wp_fusion()->user->remove_tags( $wpf_settings[ $course_id ]['tag_link'], $user_id );
  81. 96
  82. 97: add_action( 'wpf_tags_modified', array( $this, 'update_course_access' ), 10, 2 );
  83. 98
  84. 99 }
  85.  
  86. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-gamipress.php:
  87. 56
  88. 57 // Assign / remove linked achievements
  89. 58: add_action( 'wpf_tags_modified', array( $this, 'update_linked_achievements' ), 10, 2 );
  90. 59
  91. 60 }
  92. ..
  93. 147 }
  94. 148
  95. 149: add_action( 'wpf_tags_modified', array( $this, 'update_linked_achievements' ), 10, 2 );
  96. 150
  97. 151 }
  98.  
  99. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-learndash.php:
  100. 64
  101. 65 // Auto enrollments
  102. 66: add_action( 'wpf_tags_modified', array( $this, 'update_group_access' ), 9, 2 ); // This is 9 so that the user is in the correct groups by the time we go to update their courses
  103. 67: add_action( 'wpf_tags_modified', array( $this, 'update_course_access' ), 10, 2 );
  104. 68
  105. 69 // Group linking
  106. ..
  107. 1346 wp_fusion()->user->apply_tags( $apply_tags, $user_id );
  108. 1347
  109. 1348: add_action( 'wpf_tags_modified', array( $this, 'update_group_access' ), 10, 2 );
  110. 1349
  111. 1350 }
  112. ....
  113. 1374 wp_fusion()->user->remove_tags( $settings['tag_link'], $user_id );
  114. 1375
  115. 1376: add_action( 'wpf_tags_modified', array( $this, 'update_group_access' ), 10, 2 );
  116. 1377
  117. 1378 }
  118. ....
  119. 1401 wp_fusion()->user->apply_tags( $settings['leader_tag'], $user_id );
  120. 1402
  121. 1403: add_action( 'wpf_tags_modified', array( $this, 'update_group_access' ), 10, 2 );
  122. 1404
  123. 1405 }
  124. ....
  125. 1429 wp_fusion()->user->remove_tags( $settings['leader_tag'], $user_id );
  126. 1430
  127. 1431: add_action( 'wpf_tags_modified', array( $this, 'update_group_access' ), 10, 2 );
  128. 1432
  129. 1433 }
  130. ....
  131. 1485 }
  132. 1486
  133. 1487: add_action( 'wpf_tags_modified', array( $this, 'update_course_access' ), 10, 2 );
  134. 1488
  135. 1489 }
  136.  
  137. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-lifterlms.php:
  138. 29 add_action( 'llms_user_added_to_membership_level', array( $this, 'added_to_membership' ), 10, 2 );
  139. 30 add_action( 'llms_user_removed_from_membership_level', array( $this, 'removed_from_membership' ), 10, 2 );
  140. 31: add_action( 'wpf_tags_modified', array( $this, 'tags_modified' ), 10, 2 );
  141. 32
  142. 33 // Access plans
  143. ..
  144. 43 add_filter( 'llms_metabox_fields_lifterlms_engagement', array( $this, 'engagement_fields' ) );
  145. 44 add_action( 'save_post', array( $this, 'save_engagement_data' ) );
  146. 45: add_action( 'wpf_tags_modified', array( $this, 'update_engagements' ), 10, 2 );
  147. 46
  148. 47 // Tracks
  149. ..
  150. 959 }
  151. 960
  152. 961: add_action( 'wpf_tags_modified', array( $this, 'tags_modified' ), 10, 2 );
  153. 962
  154. 963 }
  155. ...
  156. 985 }
  157. 986
  158. 987: add_action( 'wpf_tags_modified', array( $this, 'tags_modified' ), 10, 2 );
  159. 988
  160. 989 }
  161. ...
  162. 1176 }
  163. 1177
  164. 1178: add_action( 'wpf_tags_modified', array( $this, 'tags_modified' ), 10, 2 );
  165. 1179
  166. 1180 }
  167.  
  168. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-membermouse.php:
  169. 24 add_filter( 'wpf_meta_field_groups', array( $this, 'add_meta_field_group' ), 20 );
  170. 25 add_filter( 'wpf_meta_fields', array( $this, 'set_contact_field_names' ) );
  171. 26: add_action( 'wpf_tags_modified', array( $this, 'update_membership' ), 10, 2 );
  172. 27 add_action( 'admin_menu', array( $this, 'admin_menu' ) );
  173. 28
  174.  
  175. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-memberpress.php:
  176. 63
  177. 64 // Add user to membership when tag-link tags are applied
  178. 65: add_action( 'wpf_tags_modified', array( $this, 'add_to_membership' ), 10, 2 );
  179. 66
  180. 67 // Coupons
  181. ..
  182. 542 wp_fusion()->user->remove_tags( $remove_tags, $txn->user_id );
  183. 543
  184. 544: add_action( 'wpf_tags_modified', array( $this, 'add_to_membership' ), 10, 2 );
  185. 545
  186. 546 }
  187. ...
  188. 571 wp_fusion()->user->remove_tags( $settings['apply_tags_payment_failed'], $txn->user_id );
  189. 572
  190. 573: add_action( 'wpf_tags_modified', array( $this, 'add_to_membership' ), 10, 2 );
  191. 574
  192. 575 }
  193. ...
  194. 622 wp_fusion()->user->apply_tags( $apply_tags, $txn->user_id );
  195. 623
  196. 624: add_action( 'wpf_tags_modified', array( $this, 'add_to_membership' ), 10, 2 );
  197. 625
  198. 626 }
  199. ...
  200. 649 }
  201. 650
  202. 651: add_action( 'wpf_tags_modified', array( $this, 'add_to_membership' ), 10, 2 );
  203. 652
  204. 653 }
  205. ...
  206. 678 }
  207. 679
  208. 680: add_action( 'wpf_tags_modified', array( $this, 'add_to_membership' ), 10, 2 );
  209. 681
  210. 682 }
  211. ...
  212. 743 }
  213. 744
  214. 745: add_action( 'wpf_tags_modified', array( $this, 'add_to_membership' ), 10, 2 );
  215. 746
  216. 747 }
  217. ...
  218. 951 }
  219. 952
  220. 953: add_action( 'wpf_tags_modified', array( $this, 'add_to_membership' ), 10, 2 );
  221. 954
  222. 955 }
  223.  
  224. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-members.php:
  225. 19
  226. 20 // Update roles / tags based on settings
  227. 21: add_action( 'wpf_tags_modified', array( $this, 'tags_modified' ), 10, 2 );
  228. 22
  229. 23 add_action( 'add_user_role', array( $this, 'add_user_role' ), 10, 2 );
  230. ..
  231. 119 wp_fusion()->user->apply_tags( $settings['tag_link'], $user_id );
  232. 120
  233. 121: add_action( 'wpf_tags_modified', array( $this, 'tags_modified' ), 10, 2 );
  234. 122 }
  235. 123
  236. ...
  237. 144 wp_fusion()->user->remove_tags( $settings['tag_link'], $user_id );
  238. 145
  239. 146: add_action( 'wpf_tags_modified', array( $this, 'tags_modified' ), 10, 2 );
  240. 147 }
  241. 148
  242.  
  243. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-mycred.php:
  244. 26
  245. 27 // Assign / remove linked badges and ranks
  246. 28: add_action( 'wpf_tags_modified', array( $this, 'update_linked_badges' ), 10, 2 );
  247. 29: add_action( 'wpf_tags_modified', array( $this, 'update_linked_ranks' ), 10, 2 );
  248. 30
  249. 31 // Remove WPF side meta box on MyCRED post types
  250. ..
  251. 56 wp_fusion()->user->apply_tags( $wpf_settings['tag_link'], $user_id);
  252. 57
  253. 58: add_action( 'wpf_tags_modified', array( $this, 'update_linked_badges' ), 10, 2 );
  254. 59
  255. 60 }
  256. ..
  257. 96 wp_fusion()->user->apply_tags( $apply_tags, $user_id );
  258. 97
  259. 98: add_action( 'wpf_tags_modified', array( $this, 'update_linked_ranks' ), 10, 2 );
  260. 99
  261. 100 }
  262.  
  263. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-peepso.php:
  264. 36 add_action( 'peepso_action_group_user_join', array( $this, 'join_group' ), 10, 2 );
  265. 37 add_action( 'peepso_action_group_user_delete', array( $this, 'leave_group' ), 10, 2 );
  266. 38: add_action( 'wpf_tags_modified', array( $this, 'update_group_access' ), 10, 2 );
  267. 39
  268. 40 // Groups admin
  269. ..
  270. 348 wp_fusion()->user->apply_tags( $settings[ $group_id ]['tag_link'], $user_id );
  271. 349
  272. 350: add_action( 'wpf_tags_modified', array( $this, 'update_group_access' ), 10, 2 );
  273. 351
  274. 352 }
  275. ...
  276. 371 wp_fusion()->user->remove_tags( $settings[ $group_id ]['tag_link'], $user_id );
  277. 372
  278. 373: add_action( 'wpf_tags_modified', array( $this, 'update_group_access' ), 10, 2 );
  279. 374
  280. 375 }
  281.  
  282. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-pmpro.php:
  283. 60 add_filter( 'wpf_user_register', array( $this, 'user_register' ), 10, 2 );
  284. 61 add_filter( 'wpf_user_update', array( $this, 'user_update' ), 10, 2 );
  285. 62: add_action( 'wpf_tags_modified', array( $this, 'update_membership' ), 10, 2 );
  286. 63
  287. 64 add_action( 'wpf_user_updated', array( $this, 'user_updated' ), 10, 2 );
  288. ..
  289. 228 }
  290. 229
  291. 230: add_action( 'wpf_tags_modified', array( $this, 'update_membership' ), 10, 2 );
  292. 231
  293. 232 }
  294. ...
  295. 581 }
  296. 582
  297. 583: add_action( 'wpf_tags_modified', array( $this, 'update_membership' ), 10, 2 );
  298. 584
  299. 585 }
  300.  
  301. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-restrict-content-pro.php:
  302. 34 add_action( 'wpf_user_created', array( $this, 'user_created' ), 10, 3 );
  303. 35 add_filter( 'wpf_watched_meta_fields', array( $this, 'register_watched_fields' ) );
  304. 36: add_action( 'wpf_tags_modified', array( $this, 'change_level' ), 10, 2 );
  305. 37
  306. 38 // Add interfaces to admin
  307. ..
  308. 50 add_action( 'rcpga_add_member_to_group_after', array( $this, 'add_member_to_group' ), 10, 3 );
  309. 51 add_action( 'rcpga_remove_member', array( $this, 'remove_member_from_group' ), 10, 2 );
  310. 52: add_action( 'wpf_tags_modified', array( $this, 'update_group_memberships' ), 10, 2 );
  311. 53
  312. 54 // Groups interfaces
  313. ..
  314. 619 }
  315. 620
  316. 621: add_action( 'wpf_tags_modified', array( $this, 'change_level' ), 10, 2 );
  317. 622
  318. 623 }
  319. ...
  320. 639 wp_fusion()->user->remove_tags( $settings['tag_link'], $user_id );
  321. 640
  322. 641: add_action( 'wpf_tags_modified', array( $this, 'change_level' ), 10, 2 );
  323. 642
  324. 643 }
  325. ...
  326. 741 }
  327. 742
  328. 743: add_action( 'wpf_tags_modified', array( $this, 'change_level' ), 10, 2 );
  329. 744
  330. 745 }
  331. ...
  332. 761 wp_fusion()->user->remove_tags( $settings['tag_link'], $user_id );
  333. 762
  334. 763: add_action( 'wpf_tags_modified', array( $this, 'change_level' ), 10, 2 );
  335. 764
  336. 765 }
  337. ...
  338. 931 wp_fusion()->user->apply_tags( $apply_tags, $user_id );
  339. 932
  340. 933: add_action( 'wpf_tags_modified', array( $this, 'update_group_memberships' ), 10, 2 );
  341. 934
  342. 935 }
  343. ...
  344. 954 wp_fusion()->user->remove_tags( $setting, $user_id );
  345. 955
  346. 956: add_action( 'wpf_tags_modified', array( $this, 'update_group_memberships' ), 10, 2 );
  347. 957
  348. 958 }
  349.  
  350. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-tutor-lms.php:
  351. 23 add_action( 'tutor_after_enroll', array( $this, 'after_enroll' ), 10, 2 );
  352. 24
  353. 25: add_action( 'wpf_tags_modified', array( $this, 'update_course_access' ), 10, 2 );
  354. 26
  355. 27 add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ), 10, 2 );
  356. ..
  357. 71 wp_fusion()->user->apply_tags( $settings['tag_link'], $post->post_author );
  358. 72
  359. 73: add_action( 'wpf_tags_modified', array( $this, 'update_course_access' ), 10, 2 );
  360. 74
  361. 75 }
  362.  
  363. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-ultimate-member-1x.php:
  364. 47 add_filter( 'wpf_user_update', array( $this, 'filter_form_fields' ), 10, 2 );
  365. 48 add_action( 'wpf_user_updated', array( $this, 'user_updated' ) );
  366. 49: add_action( 'wpf_tags_modified', array( $this, 'update_role' ), 10, 2 );
  367. 50
  368. 51 }
  369.  
  370. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-ultimate-member.php:
  371. 56 add_filter( 'wpf_user_update', array( $this, 'filter_form_fields' ), 10, 2 );
  372. 57
  373. 58: add_action( 'wpf_tags_modified', array( $this, 'tags_modified' ), 10, 2 );
  374. 59 add_action( 'wpf_user_imported', array( $this, 'user_imported' ), 10, 2 );
  375. 60
  376. ..
  377. 642 if ( empty( $settings ) || empty( $settings['wpf_tag_link'] ) ) {
  378. 643
  379. 644: add_action( 'wpf_tags_modified', array( $this, 'tags_modified' ), 10, 2 );
  380. 645 return;
  381. 646
  382. ...
  383. 653 }
  384. 654
  385. 655: add_action( 'wpf_tags_modified', array( $this, 'tags_modified' ), 10, 2 );
  386. 656
  387. 657 }
  388.  
  389. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-wishlist-member.php:
  390. 28
  391. 29 // WPF actions
  392. 30: add_action( 'wpf_tags_modified', array( $this, 'update_levels' ), 10, 2 );
  393. 31 add_action( 'wpf_admin_profile_tags_edited', array( $this, 'admin_profile_tags_edited' ) );
  394. 32
  395. ..
  396. 237 }
  397. 238
  398. 239: add_action( 'wpf_tags_modified', array( $this, 'update_levels' ), 10, 2 );
  399. 240
  400. 241 }
  401. ...
  402. 273 }
  403. 274
  404. 275: add_action( 'wpf_tags_modified', array( $this, 'update_levels' ), 10, 2 );
  405. 276
  406. 277 }
  407. ...
  408. 308 }
  409. 309
  410. 310: add_action( 'wpf_tags_modified', array( $this, 'update_levels' ), 10, 2 );
  411. 311
  412. 312 }
  413.  
  414. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-woo-memberships.php:
  415. 24 add_action( 'wc_memberships_user_membership_saved', array( $this, 'membership_level_saved' ), 20, 2 );
  416. 25 add_action( 'wc_memberships_user_membership_status_changed', array( $this, 'membership_status_changed' ), 10, 3 );
  417. 26: add_action( 'wpf_tags_modified', array( $this, 'update_memberships' ), 10, 2 );
  418. 27
  419. 28 // Add meta boxes to Woo membership level editor
  420. ..
  421. 129 }
  422. 130
  423. 131: add_action( 'wpf_tags_modified', array( $this, 'update_memberships' ), 10, 2 );
  424. 132
  425. 133 }
  426.  
  427. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-woocommerce.php:
  428. 122 add_action( 'woocommerce_add_to_cart', array( $this, 'add_to_cart_apply_coupon' ), 30 ); // 30 so the cart totals have time to recalculate
  429. 123 add_action( 'woocommerce_after_cart_item_quantity_update', array( $this, 'add_to_cart_apply_coupon' ) );
  430. 124: add_action( 'wpf_tags_modified', array( $this, 'maybe_apply_coupons' ), 10, 2 );
  431. 125
  432. 126 // Coupon labels
  433.  
  434. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-wp-ultimo.php:
  435. 22 add_action( 'wp_ultimo_registration', array( $this, 'registration' ), 10, 4 );
  436. 23
  437. 24: add_action( 'wpf_tags_modified', array( $this, 'update_plans' ), 10, 2 );
  438. 25
  439. 26 // Custom fields
  440.  
  441. /Users/jgarturo/Local Sites/dev/app/public/wp-content/plugins/wp-fusion/includes/integrations/class-wpforo.php:
  442. 33
  443. 34 // Auto enrollments
  444. 35: add_action( 'wpf_tags_modified', array( $this, 'update_usergroup_access' ), 10, 2 );
  445. 36
  446. 37 // Admin settings
  447.  
  448. 72 matches across 23 files
  449.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement