WP hook : Add column to Users admin panel

Hi,

I’d like to share a new experience in WordPress , adding hooks in your code.

The problem :

I want to add new custom sortable column to Users Admin panel in WordPress

Solution :

# Add these lines to you functions.php
## Suppose your new column will be named as type, and the meta_key in (user_meta) db is ‘type’.

See the readme file on github here :
https://github.com/esl4m/wordpress_hook_to_sort_new_column

..

Result will be like this :

hook_sort_type

One Comment on “WP hook : Add column to Users admin panel”

  1. Hello eslam i sent you job posf on fb messages waiting your reply
    Mohamed yosry hr
    01006594008

Leave a Reply

Your email address will not be published. Required fields are marked *