markup() public method

Returns the markup for the user setting.
Since: 3.0.0
public markup ( WP_User $user ) : string
$user WP_User User object.
return string The markup for the user setting.
    /**
     * Renders the user setting markup.
     *
     * @since   3.0.0
     * @wp-hook personal_options
     *
     * @param WP_User $user User object.
     *
     * @return bool Whether or not the user setting markup was rendered successfully.
     */
    public function render(WP_User $user)
    {
        if ($this->check_user && !current_user_can('edit_user', $user->ID)) {
            return false;
        }
        ?>
		<tr>
			<th scope="row">
				<?php 
        echo $this->model->title($user);
        ?>
			</th>
			<td>
				<?php 
        echo $this->model->markup($user);
        ?>
			</td>
		</tr>
		<?php 
        return true;
    }