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

WPCF7_ContactForm::construct_properties() private CF7 1.0

Constructs contact form properties. This is called only once from the constructor.

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

Возвращает

null. Ничего.

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

// private - только в коде основоного (родительского) класса
$result = $this->construct_properties( $post );
$post **
-
По умолчанию: null

Код WPCF7_ContactForm::construct_properties() CF7 5.5.3

private function construct_properties( $post = null ) {
	$builtin_properties = array(
		'form' => '',
		'mail' => array(),
		'mail_2' => array(),
		'messages' => array(),
		'additional_settings' => '',
	);

	$properties = apply_filters(
		'wpcf7_pre_construct_contact_form_properties',
		$builtin_properties, $this
	);

	// Filtering out properties with invalid name
	$properties = array_filter(
		$properties,
		function ( $key ) {
			$sanitized_key = sanitize_key( $key );
			return $key === $sanitized_key;
		},
		ARRAY_FILTER_USE_KEY
	);

	foreach ( $properties as $name => $val ) {
		$prop = $this->retrieve_property( $name );

		if ( isset( $prop ) ) {
			$properties[$name] = $prop;
		}
	}

	$this->properties = $properties;

	foreach ( $properties as $name => $val ) {
		$properties[$name] = apply_filters(
			"wpcf7_contact_form_property_{$name}",
			$val, $this
		);
	}

	$this->properties = $properties;

	$properties = (array) apply_filters(
		'wpcf7_contact_form_properties',
		$properties, $this
	);

	$this->properties = $properties;
}