Welcome, visitor! Log in
 

Source View: manage_themes_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.

  • Action hooks look like this: do_action( "hook_name" )
  • Filter hooks look like this: apply_filters( "hook_name", "what_to_filter" ).

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
403                          /**
404                           * Fires inside each custom column of the Multisite themes list table.
405                           *
406                           * @since 3.1.0
407                           *
408                           * @param string   $column_name Name of the column.
409                           * @param string   $stylesheet  Directory name of the theme.
410                           * @param WP_Theme $theme       Current WP_Theme object.
411                           */
412                          do_action( 'manage_themes_custom_column', $column_name, $stylesheet, $theme );
413                          echo "</td>";
414                }
415           }
416
417           echo "</tr>";
418
419           if ( $this->is_site_themes )
420                remove_action( "after_theme_row_$stylesheet", 'wp_theme_update_row' );
421