media_buttons [ WordPress Function ]
media_buttons ( $editor_id = 'content' )
| Defined at: |
|
Soorgelijke functies: _media_button, press_this_media_buttons, submit_button, media_upload_tabs, get_submit_button
{@internal Missing Short Description}}
Source
<?php
function media_buttons($editor_id = 'content') {
$context = apply_filters('media_buttons_context', __('Upload/Insert %s'));
$img = '<img src="' . esc_url( admin_url( 'images/media-button.png?ver=20111005' ) ) . '" width="15" height="15" />';
echo '<a href="' . esc_url( get_upload_iframe_src() ) . '" class="thickbox add_media" id="' . esc_attr( $editor_id ) . '-add_media" title="' . esc_attr__( 'Add Media' ) . '" onclick="return false;">' . sprintf( $context, $img ) . '</a>';
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- media_buttons Wordpress hook details -- Adam Brown, BYU ...
Detailed information about every action hook and filter used in WordPress. Makes Plugin API easier to use. Lists appearance, file location, and deprecation data ...
adambrown.info - WordPress › Support » P2 Theme - media_buttons - automatically ...
P2 Theme - media_buttons - automatically attach files to post (3 posts) ... I'm trying to achieve that files/images uploaded via the media buttons in P2 are ...
wordpress.org - WordPress › Support » How to modify P2::media_buttons
Looking into the P2 files one comes across <?php echo P2::media_buttons(); ?> ... I would really appreciate help on how P2::media_buttons(); uses parameters if ...
wordpress.org - PHPXRef 0.7 : WordPress : Function Reference: media_buttons()
Function and Method Cross Reference. media_buttons(). Defined at: /wp-admin/ includes/media.php -> line 375. No references found.
phpxref.ftwr.co.uk
Gebruikersdiscussies [ wordpress.org ]
- paoltaia on "P2 Theme - media_buttons - automatically attach files to post"
- Momekh on "P2 Theme - media_buttons - automatically attach files to post"
- creafolio on "P2 Theme - media_buttons - automatically attach files to post"
- gazotem on "How do you load top-level wordpress plugin menu page into built-in thickbox?"
- clarklab on "How to modify P2::media_buttons"
- Caramboo on "How to modify P2::media_buttons"
- clarklab on "How to modify P2::media_buttons"
- Creative Slice on "How to modify P2::media_buttons"
- pswheeler on "How to modify P2::media_buttons"
- gunfios on "How to modify P2::media_buttons"