WordPress at Your Fingertips
function is not described

WC_Plugin_Updates::get_extensions_modal_warning() protected WC 1.0

Get the warning notice for the modal window.

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

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_extensions_modal_warning();

Code of WC_Plugin_Updates::get_extensions_modal_warning() WC 5.9.0

protected function get_extensions_modal_warning() {
	$version_parts = explode( '.', $this->new_version );
	$new_version   = $version_parts[0] . '.0';
	$plugins       = $this->major_untested_plugins;

	ob_start();
	include __DIR__ . '/views/html-notice-untested-extensions-modal.php';
	return ob_get_clean();
}