Awesome Support Developer Documentation

wpas_user_profile_show_tickets


Signature

apply_filters( 'wpas_user_profile_show_tickets', true )

Typical Usage

This filter is used to control whether or not a list of tickets belonging to the user is printed in the user profile metabox in wp-admin.

Example Usage

add_filter( 'wpas_user_profile_show_tickets',  'wpas_user_profile_hide_tickets', 10, 1);

function wpas_user_profile_hide_tickets( $hide_ticket ) {

    return false ; // hide tickets from the metabox.

}

First Available

Version 4.4.0


More Topics In Filter Hooks

Share: