src/includes/Hooks/HooksAdapterInterface.php
Method add_filter
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function add_filter( string $hook, ?object $component, string $callback, int $priority = 10, int $accepted_args = 1 );
Method add_action
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function add_action( string $hook, ?object $component, string $callback, int $priority = 10, int $accepted_args = 1 );