WPSEO_Import_Status::get_msg
Get the import message.
Метод класса: WPSEO_Import_Status{}
Хуков нет.
Возвращает
Строку. Message about current status.
Использование
$WPSEO_Import_Status = new WPSEO_Import_Status(); $WPSEO_Import_Status->get_msg();
Код WPSEO_Import_Status::get_msg() WPSEO Import Status::get msg Yoast 27.6
public function get_msg() {
if ( $this->msg !== '' ) {
return $this->msg;
}
if ( $this->status === false ) {
/* translators: %s is replaced with the name of the plugin we're trying to find data from. */
return __( '%s data not found.', 'wordpress-seo' );
}
return $this->get_default_success_message();
}