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