diff --git a/class-two-factor-core.php b/class-two-factor-core.php index bedf26f1..1cc1e835 100644 --- a/class-two-factor-core.php +++ b/class-two-factor-core.php @@ -309,7 +309,7 @@ public static function get_providers() { * @param WP_User|int|null $user User ID. * @return array List of provider instances indexed by provider key. */ - public function get_supported_providers_for_user( $user = null ) { + public static function get_supported_providers_for_user( $user = null ) { $user = self::fetch_user( $user ); $providers = self::get_providers();