WPSEO_Admin_User_Profile::user_profile()publicYoast 1.0

Add the inputs needed for SEO values to the User Profile page.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$WPSEO_Admin_User_Profile = new WPSEO_Admin_User_Profile();
$WPSEO_Admin_User_Profile->user_profile( $user );
$user(WP_User) (обязательный)
User instance to output for.

Код WPSEO_Admin_User_Profile::user_profile() Yoast 22.3

public function user_profile( $user ) {
	wp_nonce_field( 'wpseo_user_profile_update', 'wpseo_nonce' );

	require_once WPSEO_PATH . 'admin/views/user-profile.php';
}