WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )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.
| Line | Code | 
|---|---|
| 76 |                     break; | 
| 77 |                case 'aside': | 
| 78 |                default: | 
| 79 |                     $format_string      = __( 'Asides', 'twentyfourteen' ); | 
| 80 |                     $format_string_more = __( 'More asides', 'twentyfourteen' ); | 
| 81 |                     break; | 
| 82 |           } | 
| 83 |  | 
| 84 |           $number = empty( $instance['number'] ) ? 2 : absint( $instance['number'] ); | 
| 85 |           $title  = apply_filters( 'widget_title', empty( $instance['title'] ) ? $format_string : $instance['title'], $instance, $this->id_base ); | 
| 86 |  | 
| 87 |           $ephemera = new WP_Query( array( | 
| 88 |                'order'          => 'DESC', | 
| 89 |                'posts_per_page' => $number, | 
| 90 |                'no_found_rows'  => true, | 
| 91 |                'post_status'    => 'publish', | 
| 92 |                'post__not_in'   => get_option( 'sticky_posts' ), | 
| 93 |                'tax_query'      => array( | 
| 94 |                     array( |