gianism_default_redirect_link
gianism_default_redirect_link
Appears in: gianism.3.2.2, gianism.3.3.0, gianism.4.0.0, gianism.4.1.0, gianism.4.2.0, gianism.4.2.2, gianism.4.3.0, gianism.4.3.1, gianism.4.3.2, gianism.4.3.3, gianism.4.3.4, gianism.4.4.0, gianism.5.0.0, gianism.5.0.2, gianism.5.1.0, gianism.5.2.2
Hook Type: filter
See hook in action
Displaying hooks found in version: gianism.5.2.2apply_filters('gianism_default_redirect_link') is found 3 times:
- /app/Gianism/Service/AbstractService.php line 650
* @param string $service Service name. e.g. twitter. * @param bool $register Detect if this is register context. * @param string $context Context of this button. Default empty string. */ $redirect = apply_filters( 'gianism_default_redirect_link', $redirect, $this->service_name, $register, $context ); } $url_args = [ 'redirect_to' => $redirect, ]; if ( $this->network->is_child_site() ) { $url_args['blog_id'] = get_current_blog_id();
- /app/Gianism/Service/AbstractService.php line 703
* @return string */ public function connect_button( $redirect_to = '' ) { if ( empty( $redirect_to ) ) { $redirect_to = apply_filters( 'gianism_default_redirect_link', admin_url( 'profile.php' ), $this->service_name, false, 'connect' ); } $url = $this->get_redirect_endpoint( 'connect', $this->service_name . '_connect', array( 'redirect_to' => $redirect_to,
- /app/Gianism/Service/AbstractService.php line 731
* @return string */ public function disconnect_button( $redirect_to = '' ) { if ( empty( $redirect_to ) ) { $redirect_to = apply_filters( 'gianism_default_redirect_link', admin_url( 'profile.php' ), $this->service_name, false, 'disconnect' ); } $url = $this->get_redirect_endpoint( 'disconnect', $this->service_name . '_disconnect', array( 'redirect_to' => $redirect_to,