post_comment_status_meta_box [ WordPress Function ]
post_comment_status_meta_box ( $post )
| Parameters: |
|
| Defined at: |
|
Soorgelijke functies: post_comment_meta_box, post_comment_meta_box_thead, post_format_meta_box, post_tags_meta_box, wp_set_comment_status
Display comments status form fields.
Source
<?php
function post_comment_status_meta_box($post) {
?>
<input name="advanced_view" type="hidden" value="1" />
<p class="meta-options">
<label for="comment_status" class="selectit"><input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> /> <?php _e( 'Allow comments.' ) ?></label><br />
<label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php printf( __( 'Allow <a href="%s" target="_blank">trackbacks and pingbacks</a> on this page.' ), __( 'http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments' ) ); ?></label>
<?php do_action('post_comment_status_meta_box-options', $post); ?>
</p>
<?php
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- post_comment_status_meta_box-options Wordpress hook details ...
We find related hooks using word stems. post_comment_status_meta_box- options has 6 significant word stem(s): post , comment , status , meta , box , options .
adambrown.info - WordPress › Support » Exclude AddThis from individual pages
wp-admin/includes/meta-boxes.php -> do_action(' post_comment_status_meta_box-options', $post);. Not sure where to plug in for fetching and saving the data, ...
wordpress.org - PHPXRef 0.7 : WordPress : Detail view of meta-boxes.php
post_custom_meta_box() post_comment_status_meta_box() ...
phpxref.ftwr.co.uk - meta-boxes.php - PHP Cross Reference of WordPress Source - Yoast
post_custom_meta_box() post_comment_status_meta_box() ...
xref.yoast.com