[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

/wp-admin/includes/ -> ajax-actions.php (summary)

Administration API: Core Ajax handlers

File Size: 4728 lines (131 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 9 files
 wp-admin/includes/theme.php
 wp-admin/includes/image-edit.php
 wp-admin/includes/plugin-install.php
 wp-admin/includes/revision.php
 wp-admin/includes/class-wp-community-events.php
 wp-admin/includes/nav-menu.php
 wp-admin/includes/class-wp-site-icon.php
 wp-admin/includes/dashboard.php
 wp-admin/includes/class-wp-upgrader.php

Defines 84 functions

  wp_ajax_nopriv_heartbeat()
  wp_ajax_fetch_list()
  wp_ajax_wp_compression_test()
  wp_ajax_imgedit_preview()
  wp_ajax_oembed_cache()
  wp_ajax_autocomplete_user()
  wp_ajax_get_community_events()
  wp_ajax_dashboard_widgets()
  wp_ajax_logged_in()
  _wp_ajax_delete_comment_response()
  _wp_ajax_add_hierarchical_term()
  wp_ajax_delete_comment()
  wp_ajax_delete_tag()
  wp_ajax_delete_link()
  wp_ajax_delete_meta()
  wp_ajax_delete_post()
  wp_ajax_trash_post()
  wp_ajax_untrash_post()
  wp_ajax_delete_page()
  wp_ajax_dim_comment()
  wp_ajax_add_link_category()
  wp_ajax_add_tag()
  wp_ajax_get_tagcloud()
  wp_ajax_get_comments()
  wp_ajax_replyto_comment()
  wp_ajax_edit_comment()
  wp_ajax_add_menu_item()
  wp_ajax_add_meta()
  wp_ajax_add_user()
  wp_ajax_closed_postboxes()
  wp_ajax_hidden_columns()
  wp_ajax_update_welcome_panel()
  wp_ajax_menu_get_metabox()
  wp_ajax_wp_link_ajax()
  wp_ajax_menu_locations_save()
  wp_ajax_meta_box_order()
  wp_ajax_menu_quick_search()
  wp_ajax_get_permalink()
  wp_ajax_sample_permalink()
  wp_ajax_inline_save()
  wp_ajax_inline_save_tax()
  wp_ajax_find_posts()
  wp_ajax_widgets_order()
  wp_ajax_save_widget()
  wp_ajax_update_widget()
  wp_ajax_delete_inactive_widgets()
  wp_ajax_upload_attachment()
  wp_ajax_image_editor()
  wp_ajax_set_post_thumbnail()
  wp_ajax_get_post_thumbnail_html()
  wp_ajax_set_attachment_thumbnail()
  wp_ajax_date_format()
  wp_ajax_time_format()
  wp_ajax_wp_fullscreen_save_post()
  wp_ajax_wp_remove_post_lock()
  wp_ajax_dismiss_wp_pointer()
  wp_ajax_get_attachment()
  wp_ajax_query_attachments()
  wp_ajax_save_attachment()
  wp_ajax_save_attachment_compat()
  wp_ajax_save_attachment_order()
  wp_ajax_send_attachment_to_editor()
  wp_ajax_send_link_to_editor()
  wp_ajax_heartbeat()
  wp_ajax_get_revision_diffs()
  wp_ajax_save_user_color_scheme()
  wp_ajax_query_themes()
  wp_ajax_parse_embed()
  wp_ajax_parse_media_shortcode()
  wp_ajax_destroy_sessions()
  wp_ajax_crop_image()
  wp_ajax_generate_password()
  wp_ajax_save_wporg_username()
  wp_ajax_install_theme()
  wp_ajax_update_theme()
  wp_ajax_delete_theme()
  wp_ajax_install_plugin()
  wp_ajax_update_plugin()
  wp_ajax_delete_plugin()
  wp_ajax_search_plugins()
  wp_ajax_search_install_plugins()
  wp_ajax_edit_theme_plugin_file()
  wp_ajax_wp_privacy_export_personal_data()
  wp_ajax_wp_privacy_erase_personal_data()

Functions
Functions that are not part of a class:

wp_ajax_nopriv_heartbeat()   X-Ref
Ajax handler for the Heartbeat API in
the no-privilege context.

Runs when the user is not logged in.


wp_ajax_fetch_list()   X-Ref
Ajax handler for fetching a list table.


wp_ajax_wp_compression_test()   X-Ref
Ajax handler for compression testing.


wp_ajax_imgedit_preview()   X-Ref
Ajax handler for image editor previews.


wp_ajax_oembed_cache()   X-Ref
Ajax handler for oEmbed caching.


wp_ajax_autocomplete_user()   X-Ref
Ajax handler for user autocomplete.


wp_ajax_get_community_events()   X-Ref
Handles AJAX requests for community events


wp_ajax_dashboard_widgets()   X-Ref
Ajax handler for dashboard widgets.


wp_ajax_logged_in()   X-Ref
Ajax handler for Customizer preview logged-in status.


_wp_ajax_delete_comment_response( $comment_id, $delta = -1 )   X-Ref
Sends back current comment total and new page links if they need to be updated.

Contrary to normal success Ajax response ("1"), die with time() on success.

param: int $comment_id
param: int $delta

_wp_ajax_add_hierarchical_term()   X-Ref
Ajax handler for adding a hierarchical term.


wp_ajax_delete_comment()   X-Ref
Ajax handler for deleting a comment.


wp_ajax_delete_tag()   X-Ref
Ajax handler for deleting a tag.


wp_ajax_delete_link()   X-Ref
Ajax handler for deleting a link.


wp_ajax_delete_meta()   X-Ref
Ajax handler for deleting meta.


wp_ajax_delete_post( $action )   X-Ref
Ajax handler for deleting a post.

param: string $action Action to perform.

wp_ajax_trash_post( $action )   X-Ref
Ajax handler for sending a post to the trash.

param: string $action Action to perform.

wp_ajax_untrash_post( $action )   X-Ref
Ajax handler to restore a post from the trash.

param: string $action Action to perform.

wp_ajax_delete_page( $action )   X-Ref

param: string $action

wp_ajax_dim_comment()   X-Ref
Ajax handler to dim a comment.


wp_ajax_add_link_category( $action )   X-Ref
Ajax handler for adding a link category.

param: string $action Action to perform.

wp_ajax_add_tag()   X-Ref
Ajax handler to add a tag.


wp_ajax_get_tagcloud()   X-Ref
Ajax handler for getting a tagcloud.


wp_ajax_get_comments( $action )   X-Ref
Ajax handler for getting comments.

param: string $action Action to perform.

wp_ajax_replyto_comment( $action )   X-Ref
Ajax handler for replying to a comment.

param: string $action Action to perform.

wp_ajax_edit_comment()   X-Ref
Ajax handler for editing a comment.


wp_ajax_add_menu_item()   X-Ref
Ajax handler for adding a menu item.


wp_ajax_add_meta()   X-Ref
Ajax handler for adding meta.


wp_ajax_add_user( $action )   X-Ref
Ajax handler for adding a user.

param: string $action Action to perform.

wp_ajax_closed_postboxes()   X-Ref
Ajax handler for closed post boxes.


wp_ajax_hidden_columns()   X-Ref
Ajax handler for hidden columns.


wp_ajax_update_welcome_panel()   X-Ref
Ajax handler for updating whether to display the welcome panel.


wp_ajax_menu_get_metabox()   X-Ref
Ajax handler for retrieving menu meta boxes.


wp_ajax_wp_link_ajax()   X-Ref
Ajax handler for internal linking.


wp_ajax_menu_locations_save()   X-Ref
Ajax handler for menu locations save.


wp_ajax_meta_box_order()   X-Ref
Ajax handler for saving the meta box order.


wp_ajax_menu_quick_search()   X-Ref
Ajax handler for menu quick searching.


wp_ajax_get_permalink()   X-Ref
Ajax handler to retrieve a permalink.


wp_ajax_sample_permalink()   X-Ref
Ajax handler to retrieve a sample permalink.


wp_ajax_inline_save()   X-Ref
Ajax handler for Quick Edit saving a post from a list table.


wp_ajax_inline_save_tax()   X-Ref
Ajax handler for quick edit saving for a term.


wp_ajax_find_posts()   X-Ref
Ajax handler for querying posts for the Find Posts modal.


wp_ajax_widgets_order()   X-Ref
Ajax handler for saving the widgets order.


wp_ajax_save_widget()   X-Ref
Ajax handler for saving a widget.


wp_ajax_update_widget()   X-Ref
Ajax handler for saving a widget.


wp_ajax_delete_inactive_widgets()   X-Ref
Ajax handler for removing inactive widgets.


wp_ajax_upload_attachment()   X-Ref
Ajax handler for uploading attachments


wp_ajax_image_editor()   X-Ref
Ajax handler for image editing.


wp_ajax_set_post_thumbnail()   X-Ref
Ajax handler for setting the featured image.


wp_ajax_get_post_thumbnail_html()   X-Ref
Ajax handler for retrieving HTML for the featured image.


wp_ajax_set_attachment_thumbnail()   X-Ref
Ajax handler for setting the featured image for an attachment.


wp_ajax_date_format()   X-Ref
Ajax handler for date formatting.


wp_ajax_time_format()   X-Ref
Ajax handler for time formatting.


wp_ajax_wp_fullscreen_save_post()   X-Ref
Ajax handler for saving posts from the fullscreen editor.


wp_ajax_wp_remove_post_lock()   X-Ref
Ajax handler for removing a post lock.


wp_ajax_dismiss_wp_pointer()   X-Ref
Ajax handler for dismissing a WordPress pointer.


wp_ajax_get_attachment()   X-Ref
Ajax handler for getting an attachment.


wp_ajax_query_attachments()   X-Ref
Ajax handler for querying attachments.


wp_ajax_save_attachment()   X-Ref
Ajax handler for updating attachment attributes.


wp_ajax_save_attachment_compat()   X-Ref
Ajax handler for saving backward compatible attachment attributes.


wp_ajax_save_attachment_order()   X-Ref
Ajax handler for saving the attachment order.


wp_ajax_send_attachment_to_editor()   X-Ref
Ajax handler for sending an attachment to the editor.

Generates the HTML to send an attachment to the editor.
Backward compatible with the {@see 'media_send_to_editor'} filter
and the chain of filters that follow.


wp_ajax_send_link_to_editor()   X-Ref
Ajax handler for sending a link to the editor.

Generates the HTML to send a non-image embed link to the editor.

Backward compatible with the following filters:
- file_send_to_editor_url
- audio_send_to_editor_url
- video_send_to_editor_url


wp_ajax_heartbeat()   X-Ref
Ajax handler for the Heartbeat API.

Runs when the user is logged in.


wp_ajax_get_revision_diffs()   X-Ref
Ajax handler for getting revision diffs.


wp_ajax_save_user_color_scheme()   X-Ref
Ajax handler for auto-saving the selected color scheme for
a user's own profile.


wp_ajax_query_themes()   X-Ref
Ajax handler for getting themes from themes_api().


wp_ajax_parse_embed()   X-Ref
Apply [embed] Ajax handlers to a string.


wp_ajax_parse_media_shortcode()   X-Ref


wp_ajax_destroy_sessions()   X-Ref
Ajax handler for destroying multiple open sessions for a user.


wp_ajax_crop_image()   X-Ref
Ajax handler for cropping an image.


wp_ajax_generate_password()   X-Ref
Ajax handler for generating a password.


wp_ajax_save_wporg_username()   X-Ref
Ajax handler for saving the user's WordPress.org username.


wp_ajax_install_theme()   X-Ref
Ajax handler for installing a theme.


wp_ajax_update_theme()   X-Ref
Ajax handler for updating a theme.


wp_ajax_delete_theme()   X-Ref
Ajax handler for deleting a theme.


wp_ajax_install_plugin()   X-Ref
Ajax handler for installing a plugin.


wp_ajax_update_plugin()   X-Ref
Ajax handler for updating a plugin.


wp_ajax_delete_plugin()   X-Ref
Ajax handler for deleting a plugin.


wp_ajax_search_plugins()   X-Ref
Ajax handler for searching plugins.


wp_ajax_search_install_plugins()   X-Ref
Ajax handler for searching plugins to install.


wp_ajax_edit_theme_plugin_file()   X-Ref
Ajax handler for editing a theme or plugin file.


wp_ajax_wp_privacy_export_personal_data()   X-Ref
Ajax handler for exporting a user's personal data.


wp_ajax_wp_privacy_erase_personal_data()   X-Ref
Ajax handler for erasing personal data.




Generated: Fri Jun 22 08:20:01 2018 Cross-referenced by PHPXref 0.7