Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: twentyeleven_layouts

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
144                'thumbnail' => get_template_directory_uri() . '/inc/images/sidebar-content.png',
145           ),
146           'content' => array(
147                'value' => 'content',
148                'label' => __( 'One-column, no sidebar', 'twentyeleven' ),
149                'thumbnail' => get_template_directory_uri() . '/inc/images/content.png',
150           ),
151      );
152
153      return apply_filters( 'twentyeleven_layouts', $layout_options );
154 }
155
156 /**
157  * Returns the default options for Twenty Eleven.
158  *
159  * @since Twenty Eleven 1.0
160  */
161 function twentyeleven_get_default_theme_options() {
162      $default_theme_options = array(