PeepSo Documentation

Filter: profile navigation order

Hook
peepso_filter_navigation_profile_order

 

Plugin PeepSo Foundation
Since 3.0.0.0
Status Active
Args
array

Description

This filter is used to order the list of links built with peepso_navigation_profile. The argument is an array of strings – the unique keys representing the links.

The “Stream” and “About” tabs cannot be moved – they will always be displayed first. You are not required to specify all keys – omitted keys will fall back to their original sorting. It’s recommended to follow the array_merge() approach displayed below, to make sure other plugins can also use this filter successfully.

If you are using the WooCommerce Product Vendors plugin and wish to move the “Products” tab, you need to use filter priority higher than 10000.

Examples

Get 10% off and a free eBook!

Subscribe to our newsletter to get a welcome discount:  10% off your first purchase* and receive a  free eBook:

"The Secrets Of Successful Online Communities"

* The discount code can only be used once, on a new purchase, not a renewal or upgrade. Promotions can't be combined.