WPSEO_Option::remove_option_filters()publicYoast 1.0

Remove the option filters. Called from the clean_up methods to make sure we retrieve the original old option.

Метод класса: WPSEO_Option{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$WPSEO_Option = new WPSEO_Option();
$WPSEO_Option->remove_option_filters();

Код WPSEO_Option::remove_option_filters() Yoast 22.4

public function remove_option_filters() {
	remove_filter( 'option_' . $this->option_name, [ $this, 'get_option' ] );
}