Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: manage_pages_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
658                     );
659                ?></td>
660                <?php
661                break;
662
663                default:
664                ?>
665                <td <?php echo $attributes ?>><?php
666                     if ( is_post_type_hierarchical( $post->post_type ) )
667                          do_action( 'manage_pages_custom_column', $column_name, $post->ID );
668                     else
669                          do_action( 'manage_posts_custom_column', $column_name, $post->ID );
670                     do_action( "manage_{$post->post_type}_posts_custom_column", $column_name, $post->ID );
671                ?></td>
672                <?php
673                break;
674           }
675      }
676      ?>