Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Dynamically Display HTML depending on User

@henrywright

Moderator

You need a way of getting the user’s type, then you can do this:

if ( $type === 'employee' ) {
    // Show button.
} elseif ( $type === 'employer' ) {
    // Hide button.
}
Skip to toolbar