quick_edit_enabled_for_taxonomy

quick_edit_enabled_for_taxonomy

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.8

apply_filters('quick_edit_enabled_for_taxonomy') is found 2 times:

  • /wp-admin/includes/class-wp-terms-list-table.php line 430
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
        $name
    );
     
    /** This filter is documented in wp-admin/includes/class-wp-terms-list-table.php */
    $quick_edit_enabled = apply_filters( 'quick_edit_enabled_for_taxonomy', true, $taxonomy );
     
    if ( $quick_edit_enabled ) {
        $output .= '<div class="hidden" id="inline_' . $qe_data->term_id . '">';
        $output .= '<div class="name">' . $qe_data->name . '</div>';
     
        /** This filter is documented in wp-admin/edit-tag-form.php */
  • /wp-admin/includes/class-wp-terms-list-table.php line 503
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    *
     * @param bool   $enable   Whether to enable the Quick Edit functionality. Default true.
     * @param string $taxonomy Taxonomy name.
     */
    $quick_edit_enabled = apply_filters( 'quick_edit_enabled_for_taxonomy', true, $taxonomy );
     
    if ( $quick_edit_enabled ) {
        $actions['inline hide-if-no-js'] = sprintf(
            '<button type="button" class="button-link editinline" aria-label="%s" aria-expanded="false">%s</button>',
            /* translators: %s: Taxonomy term name. */
            esc_attr( sprintf( __( 'Quick edit &#8220;%s&#8221; inline' ), $tag->name ) ),