Skip to content

Commit

Permalink
add missing docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
remyperona committed Feb 27, 2025
1 parent 54db7a1 commit 6ba6644
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions inc/Engine/Cache/UrlValidation/AbstractUrlValidation.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ public function stop_optimizations_for_not_valid_url( $html ) {
* @return bool
*/
protected function is_disabled(): bool {
/**
* Filters whether to disable URL validation.
*
* @param bool $disable True to disable URL validation, false to enable it.
*/
return wpm_apply_filters_typed( 'boolean', 'rocket_disable_url_validation', false );
}

Expand Down

0 comments on commit 6ba6644

Please sign in to comment.