Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: manage_sites_custom_column

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
385                          echo "<td class='$column_name column-$column_name'$style>";
386                          /**
387                           * Fires for each registered custom column in the Sites list table.
388                           *
389                           * @since 3.1.0
390                           *
391                           * @param string $column_name The name of the column to display.
392                           * @param int    $blog_id     The site ID.
393                           */
394                          do_action( 'manage_sites_custom_column', $column_name, $blog['blog_id'] );
395                          echo "</td>";
396                          break;
397                     }
398                }
399                ?>
400                </tr>
401                <?php
402           }
403      }