WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Самая быстрая Тема-конструктор для WordPress
функция не описана

Yoast_License_Manager::show_license_form() public Yoast 1.0

Show a form where users can enter their license key

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

Хуков нет.

Возвращает

Null. Ничего.

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

$Yoast_License_Manager = new Yoast_License_Manager();
$Yoast_License_Manager->show_license_form( $embedded );
$embedded(true/false)
Boolean indicating whether this form is embedded in another form?
По умолчанию: true

Код Yoast_License_Manager::show_license_form() Yoast 15.1.1

<?php
public function show_license_form( $embedded = true ) {
	$key_name    = $this->prefix . 'license_key';
	$nonce_name  = $this->prefix . 'license_nonce';
	$action_name = $this->prefix . 'license_action';

	$api_host_available = $this->get_api_availability();

	$visible_license_key = $this->get_license_key();

	// obfuscate license key
	$obfuscate = ( strlen( $this->get_license_key() ) > 5 && ( $this->license_is_valid() || ! $this->remote_license_activation_failed ) );

	if ( $obfuscate ) {
		$visible_license_key = str_repeat( '*', strlen( $this->get_license_key() ) - 4 ) . substr( $this->get_license_key(), - 4 );
	}

	// make license key readonly when license key is valid or license is defined with a constant
	$readonly = ( $this->license_is_valid() || $this->license_constant_is_defined );

	require dirname( __FILE__ ) . '/views/form.php';

	// enqueue script in the footer
	add_action( 'admin_footer', array( $this, 'output_script' ), 99 );
}