manage_users_custom_column

manage_users_custom_column

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('manage_users_custom_column') is found 2 times:

  • /wp-admin/includes/class-wp-ms-users-list-table.php line 470
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
        // Restores the more descriptive, specific name for use within this method.
        $user = $item;
     
        /** This filter is documented in wp-admin/includes/class-wp-users-list-table.php */
        echo apply_filters( 'manage_users_custom_column', '', $column_name, $user->ID );
    }
     
    /**
     * Generates the list table rows.
     *
     * @since 3.1.0
  • /wp-admin/includes/class-wp-users-list-table.php line 625
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
             * @param string $output      Custom column output. Default empty.
             * @param string $column_name Column name.
             * @param int    $user_id     ID of the currently-listed user.
             */
            $row .= apply_filters( 'manage_users_custom_column', '', $column_name, $user_object->ID );
    }
     
    if ( $primary === $column_name ) {
        $row .= $this->row_actions( $actions );
    }
    $row .= '</td>';

See this hook used in plugins: