gianism_user_credentials

gianism_user_credentials

Hook Type: filter

See hook in core

Displaying hooks found in version: gianism.6.0.0

apply_filters('gianism_user_credentials') is found 1 times:

  • /app/Gianism/Service/AbstractService.php line 675
    			 * @param array  $credentials An array of credentail names. Default, [ 'User ID', 'Email' ]
    			 * @param string $service
    			 * @return array
    			 */
    			$credentials            = apply_filters( 'gianism_user_credentials', $this->target_credentials( $context ), $this->service_name );
    			$args['gianism-target'] = implode( ',', $credentials );
    		}
    		// Build class - always use guideline button style.
    		$class_names   = [ 'wpg-guideline-button' ];
    		$class_names[] = $this->service_name;
    		$button        = $this->button( $text, $url, $this->service_name, $class_names, $args, $context );