Definition:
function _insert_into_post_button($type) {}
Parameters
- $type
Source code
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> '; }
4333
No comments yet... Be the first to leave a reply!