WordPress at a glance
function is not described

WP_Hook::remove_all_filters() public WP 4.7.0

Removes all callbacks from the current filter.

{} It's a method of the class: WP_Hook{}

No Hooks.

Return

Null. Nothing.

Usage

$WP_Hook = new WP_Hook();
$WP_Hook->remove_all_filters( $priority );
$priority(int/true/false)
The priority number to remove.
Default: false

Changelog

Since 4.7.0 Introduced.

Code of WP_Hook::remove_all_filters() WP 5.5.2

<?php
public function remove_all_filters( $priority = false ) {
	if ( ! $this->callbacks ) {
		return;
	}

	if ( false === $priority ) {
		$this->callbacks = array();
	} elseif ( isset( $this->callbacks[ $priority ] ) ) {
		unset( $this->callbacks[ $priority ] );
	}

	if ( $this->nesting_level > 0 ) {
		$this->resort_active_iterations();
	}
}