Changeset 3233711
- Timestamp:
- 02/03/2025 08:26:13 AM (13 months ago)
- File:
-
- 1 edited
-
eber/trunk/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
eber/trunk/index.php
r3233689 r3233711 5 5 Description: Eber is a smart member system comes with comprehensive loyalty & rewards system, marketing and analytic tool. 6 6 Author: Eber 7 Version: 4. 57 Version: 4.6 8 8 Author URI: https://eber.co 9 9 License: GPLv2 or later … … 61 61 // EndWoo 62 62 // sync user 63 add_action( 'user_register', array('Eber_FrontEnd','sync_user'));64 //add_action('plugins_loaded', function() {65 //if (has_action('user_registration_after_user_meta_update')) {66 //add_action( 'user_registration_after_user_meta_update', array('Eber_FrontEnd','sync_user_custom'),11,3);63 // add_action( 'user_register', array('Eber_FrontEnd','sync_user')); 64 add_action('plugins_loaded', function() { 65 if (has_action('user_registration_after_user_meta_update')) { 66 add_action( 'user_registration_after_user_meta_update', array('Eber_FrontEnd','sync_user_custom'),11,3); 67 67 68 //} else {69 //add_action( 'user_register', array('Eber_FrontEnd','sync_user'),100);70 //}71 //});68 } else { 69 add_action( 'user_register', array('Eber_FrontEnd','sync_user'),100); 70 } 71 });
Note: See TracChangeset
for help on using the changeset viewer.