Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: dbx_post_sidebar

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
128 else $selected = '';
129 echo "<option value='" . (int) $o->ID . "' $selected>" . wp_specialchars($o->display_name) . "</option>";
130 endforeach;
131 ?>
132 </select>
133 </div>
134 </fieldset>
135 <?php endif; ?>
136
137 <?php do_action('dbx_post_sidebar'); ?>
138
139 </div>
140 </div>
141
142 <fieldset id="titlediv">
143   <legend><?php _e('Title') ?></legend> 
144   <div><input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape($post->post_title); ?>" id="title" /></div>
145 </fieldset>
146