Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




_insert_into_post_button [ WordPress Function ]

_insert_into_post_button ( $type )
Defined at:



No description yet.

Source


<?php
function _insert_into_post_button($type) {
    if ( !
post_type_supports(get_post_type($_GET['post_id']), 'editor') )
        return 
'';

    if ( 
'image' == $type )
    return 
'
        <tr>
            <td></td>
            <td>
                <input type="button" class="button" id="go_button" style="color:#bbb;" onclick="addExtImage.insert()" value="' 
esc_attr__('Insert into Post') . '" />
            </td>
        </tr>
    '
;

    return 
'
        <tr>
            <td></td>
            <td>
                ' 
get_submit_button__'Insert into Post' ), 'button''insertonlybutton'false ) . '
            </td>
        </tr>
    '
;
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics