Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function maybe_start_tracking() {
- if ( isset( $_COOKIE['mtc_id'] ) && ! doing_wpf_auto_login() ) {
- wp_fusion()->auto_login->start_auto_login( intval( $_COOKIE['mtc_id'] ) );
- }
- }
- add_action( 'wp_fusion_init', 'maybe_start_tracking' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement