Yoast\WP\SEO\Helpers

Wordproof_Helper::remove_site_options()publicYoast 1.0

Remove site options after disabling the integration.

{} Это метод класса: Wordproof_Helper{}

Хуков нет.

Возвращает

true|false. Returns if the options are deleted

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

$Wordproof_Helper = new Wordproof_Helper();
$Wordproof_Helper->remove_site_options();

Код Wordproof_Helper::remove_site_options() Yoast 19.7.1

public function remove_site_options() {
	return \delete_site_option( 'wordproof_access_token' )
		&& \delete_site_option( 'wordproof_source_id' );
}