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.5.2

do_action('manage_users_custom_column') is found 2 times:

  • /wp-admin/includes/class-wp-ms-users-list-table.php line 470
    		// 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 );
    	}
    
    	public function display_rows() {
    		foreach ( $this->items as $user ) {
    			$class = '';
    
    
  • /wp-admin/includes/class-wp-users-list-table.php line 625
    						 * @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: