71
71
* @param int $accepted_args The number of arguments the function accepts.
73
73
public function add_filter( $tag, $function_to_add, $priority, $accepted_args ) {
75
75
$priority_existed = isset( $this->callbacks[ $priority ] );
77
77
$this->callbacks[ $priority ][ $idx ] = array(
82
82
// if we're adding a new priority to the list, put them back in sorted order