Skip to content

friends_admin_tabs

Alex Kirk edited this page Oct 17, 2024 · 7 revisions

Auto-generated Example

add_filter(
    'friends_admin_tabs',
    function ( array $string_list ) {
        // Your code here
        return $string_list;
    }
);

Parameters

  • array $string_list

Files

apply_filters(
		'friends_admin_tabs',
		array(
			__( 'Welcome', 'friends' )       => 'friends',
			__( 'Settings' )                 => 'friends-settings', // phpcs:ignore WordPress.WP.I18n.MissingArgDomain
			__( 'Friendships', 'friends' )   =>
// ...

Hooks

Clone this wiki locally