Skip to content

Commit

Permalink
Link to the original filter documentation to avoid repetition
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparsd committed Dec 18, 2024
1 parent ee03637 commit 604ff9f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions class-two-factor-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,7 @@ public static function uninstall() {

$providers = self::get_default_providers();

/**
* Include additional providers to be uninstalled.
*
* @param array $providers A key-value array where the key is the class name, and
* the value is the path to the file containing the class.
*/
/** This filter is documented in the get_providers() method */
$additional_providers = apply_filters( 'two_factor_providers', $providers );

// Merge them with the default providers.
Expand Down

0 comments on commit 604ff9f

Please sign in to comment.