WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Adminer
[resolved] snippet doesn't work anymore (2 posts)

  1. oes
    Member
    Posted 2 years ago #

    hey,
    after i installed adminer my snippet to stay loged after booking an event which i placed in the theme function and worked before doesn't anymore?

    is it possibel that the plugin has something to do with it?

    here the snipet:

    /************* STAY LOGGED-IN *************/
    
    	function my_em_booking_login($result, $EM_Booking){
    	    if ( $result ){
    	        $userid = $EM_Booking->get_person()->ID;
    	        wp_signon($userid);
    	        wp_set_auth_cookie($userid);
    	    }
    	    return $result;
    	}
    	add_filter('em_bookings_add', 'my_em_booking_login',1,2);

    http://wordpress.org/plugins/adminer/

  2. Frank Bueltge
    Member
    Plugin Author

    Posted 2 years ago #

    Normally not, the plugin use only the config of WordPress, not hooks from WordPress, except the menu item.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic