get_editable_authors

get_editable_authors

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('get_editable_authors') is found 1 times:

  • /wp-admin/includes/deprecated.php line 270
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
            $editable = join(',', $editable);
            $authors = $wpdb->get_results( "SELECT * FROM $wpdb->users WHERE ID IN ($editable) ORDER BY display_name" );
        }
     
        return apply_filters('get_editable_authors', $authors);
    }
     
    /**
     * Gets the IDs of any users who can edit posts.
     *
     * @deprecated 3.1.0 Use get_users()