gianism_connect_buttons_handler

gianism_connect_buttons_handler

Hook Type: filter

See hook in core

Displaying hooks found in version: gianism.5.2.2

apply_filters('gianism_connect_buttons_handler') is found 1 times:

  • /functions.php line 138
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
        $user = wp_get_current_user();
    }
    if ( $user ) {
        $profile = \Gianism\Controller\Profile::get_instance();
        $handler = apply_filters( 'gianism_connect_buttons_handler', $user );
        if ( is_callable( $handler ) ) {
            $handler( $user );
        } else {
            $profile->admin_connect_buttons( $user );
        }
    }