WPSEO_Option_MS::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_MS{}

Хуков нет.

Возвращает

null. Ничего.

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

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

Код WPSEO_Option_MS::remove_option_filters() Yoast 19.6.1

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