WPSEO_Plugin_Importer::cleanup_error_msg()protectedYoast 1.0

Sets the status message for when a cleanup has gone bad.

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

Хуков нет.

Возвращает

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

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->cleanup_error_msg();

Код WPSEO_Plugin_Importer::cleanup_error_msg() Yoast 22.3

protected function cleanup_error_msg() {
	/* translators: %s is replaced with the plugin's name. */
	$this->status->set_msg( sprintf( __( 'Cleanup of %s data failed.', 'wordpress-seo' ), $this->plugin_name ) );
}