Yoast\WP\SEO\Actions\Importing\Aioseo

Abstract_Aioseo_Settings_Importing_Action::get_source_option_name()publicYoast 1.0

Retrieves the source option_name.

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

Хуков нет.

Возвращает

Строку. The source option_name.

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

$Abstract_Aioseo_Settings_Importing_Action = new Abstract_Aioseo_Settings_Importing_Action();
$Abstract_Aioseo_Settings_Importing_Action->get_source_option_name();

Код Abstract_Aioseo_Settings_Importing_Action::get_source_option_name() Yoast 24.0

public function get_source_option_name() {
	$source_option_name = static::SOURCE_OPTION_NAME;

	if ( empty( $source_option_name ) ) {
		throw new Exception( 'Importing settings action without explicit source option_name' );
	}

	return $source_option_name;
}