WPCF7_ContactForm::__get()
Magic method for property overloading.
Метод класса: WPCF7_ContactForm{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WPCF7_ContactForm = new WPCF7_ContactForm(); $WPCF7_ContactForm->__get( $name );
- $name (обязательный)
- -
Код WPCF7_ContactForm::__get() WPCF7 ContactForm:: get CF7 5.9.3
public function __get( $name ) { $message = __( '<code>%1$s</code> property of a <code>WPCF7_ContactForm</code> object is <strong>no longer accessible</strong>. Use <code>%2$s</code> method instead.', 'contact-form-7' ); if ( 'id' == $name ) { if ( WP_DEBUG ) { trigger_error( sprintf( $message, 'id', 'id()' ), E_USER_DEPRECATED ); } return $this->id; } elseif ( 'title' == $name ) { if ( WP_DEBUG ) { trigger_error( sprintf( $message, 'title', 'title()' ), E_USER_DEPRECATED ); } return $this->title; } elseif ( $prop = $this->prop( $name ) ) { if ( WP_DEBUG ) { trigger_error( sprintf( $message, $name, 'prop(\'' . $name . '\')' ), E_USER_DEPRECATED ); } return $prop; } }