wp_ajax_imgedit_preview [ WordPress Function ]
wp_ajax_imgedit_preview ( No parameters )
| Defined at: |
|
Benzer Fonksiyonlar: wp_ajax_image_editor, wp_ajax_get_permalink, wp_ajax_widgets_order, wp_ajax_edit_comment, _set_preview
No description yet.
Source
<?php
function wp_ajax_imgedit_preview() {
$post_id = intval($_GET['postid']);
if ( empty($post_id) || !current_user_can('edit_post', $post_id) )
wp_die( -1 );
check_ajax_referer( "image_editor-$post_id" );
include_once( ABSPATH . 'wp-admin/includes/image-edit.php' );
if ( ! stream_preview_image($post_id) )
wp_die( -1 );
wp_die();
}
?>
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- PHPXRef 0.7 : WordPress : Detail view of ajax-actions.php
wp_ajax_imgedit_preview() wp_ajax_oembed_cache() wp_ajax_autocomplete_user() wp_ajax_dashboard_widgets() wp_ajax_autocomplete_site() ...
phpxref.ftwr.co.uk - Docs for page ajax-actions.php
/wp-admin/includes/ajax-actions.php. Description. Description | ...
phpdoc.wordpress.org - wp_htmledit_pre (WordPress Function) - WPSeek.com
Similar Functions: wp_richedit_pre, wp_editor, wp_list_pages, wp_mkdir_p, wp_ajax_imgedit_preview. Formats text for the HTML editor. Unless $output is ...
wpseek.com - WordPress 3.4-beta1
Apr 5, 2012... was found for function wp_ajax_wp_compression_test(). error, 131, No DocBlock was found for function wp_ajax_imgedit_preview() ...
docs.garyjones.co.uk