Skip to content

Commit

Permalink
Add deprecated hook functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-vlasenko authored and Anton Vlasenko committed Apr 8, 2024
1 parent 19a7cf2 commit aed56d2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,10 @@ protected function process_hook( File $phpcs_file, $stack_pointer ) {
$hook_invocation_functions = array(
'do_action',
'do_action_ref_array',
'do_action_deprecated',
'apply_filters',
'apply_filters_ref_array',
'apply_filters_deprecated',
);

// Check if the current token content is one of the filter functions.
Expand Down

0 comments on commit aed56d2

Please sign in to comment.