[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

Administration API: Core Ajax handlers

File Size: 5630 lines (151 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 12 files
 wp-admin/includes/edit-tag-messages.php
 wp-admin/includes/revision.php
 wp-admin/includes/dashboard.php
 wp-admin/includes/class-wp-upgrader.php
 wp-admin/includes/class-wp-site-icon.php
 wp-admin/includes/class-wp-debug-data.php
 wp-admin/includes/nav-menu.php
 wp-admin/includes/class-wp-community-events.php
 wp-admin/includes/image-edit.php
 wp-admin/includes/class-wp-site-health.php
 wp-admin/includes/plugin-install.php
 wp-admin/includes/theme.php

Defines 96 functions

  wp_ajax_nopriv_heartbeat()
  wp_ajax_fetch_list()
  wp_ajax_ajax_tag_search()
  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_media_create_image_subsizes()
  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_nopriv_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_activate_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()
  wp_ajax_health_check_dotorg_communication()
  wp_ajax_health_check_background_updates()
  wp_ajax_health_check_loopback_requests()
  wp_ajax_health_check_site_status_result()
  wp_ajax_health_check_get_sizes()
  wp_ajax_rest_nonce()
  wp_ajax_toggle_auto_updates()
  wp_ajax_send_password_reset()

Functions
Functions that are not part of a class:

wp_ajax_nopriv_heartbeat()   X-Ref
Handles the Heartbeat API in the no-privilege context via AJAX .

Runs when the user is not logged in.


wp_ajax_fetch_list()   X-Ref
Handles fetching a list table via AJAX.


wp_ajax_ajax_tag_search()   X-Ref
Handles tag search via AJAX.


wp_ajax_wp_compression_test()   X-Ref
Handles compression testing via AJAX.


wp_ajax_imgedit_preview()   X-Ref
Handles image editor previews via AJAX.


wp_ajax_oembed_cache()   X-Ref
Handles oEmbed caching via AJAX.


wp_ajax_autocomplete_user()   X-Ref
Handles user autocomplete via AJAX.


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


wp_ajax_dashboard_widgets()   X-Ref
Handles dashboard widgets via AJAX.


wp_ajax_logged_in()   X-Ref
Handles Customizer preview logged-in status via AJAX.


_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
Handles adding a hierarchical term via AJAX.


wp_ajax_delete_comment()   X-Ref
Handles deleting a comment via AJAX.


wp_ajax_delete_tag()   X-Ref
Handles deleting a tag via AJAX.


wp_ajax_delete_link()   X-Ref
Handles deleting a link via AJAX.


wp_ajax_delete_meta()   X-Ref
Handles deleting meta via AJAX.


wp_ajax_delete_post( $action )   X-Ref
Handles deleting a post via AJAX.

param: string $action Action to perform.

wp_ajax_trash_post( $action )   X-Ref
Handles sending a post to the Trash via AJAX.

param: string $action Action to perform.

wp_ajax_untrash_post( $action )   X-Ref
Handles restoring a post from the Trash via AJAX.

param: string $action Action to perform.

wp_ajax_delete_page( $action )   X-Ref
Handles deleting a page via AJAX.

param: string $action Action to perform.

wp_ajax_dim_comment()   X-Ref
Handles dimming a comment via AJAX.


wp_ajax_add_link_category( $action )   X-Ref
Handles adding a link category via AJAX.

param: string $action Action to perform.

wp_ajax_add_tag()   X-Ref
Handles adding a tag via AJAX.


wp_ajax_get_tagcloud()   X-Ref
Handles getting a tagcloud via AJAX.


wp_ajax_get_comments( $action )   X-Ref
Handles getting comments via AJAX.

param: string $action Action to perform.

wp_ajax_replyto_comment( $action )   X-Ref
Handles replying to a comment via AJAX.

param: string $action Action to perform.

wp_ajax_edit_comment()   X-Ref
Handles editing a comment via AJAX.


wp_ajax_add_menu_item()   X-Ref
Handles adding a menu item via AJAX.


wp_ajax_add_meta()   X-Ref
Handles adding meta via AJAX.


wp_ajax_add_user( $action )   X-Ref
Handles adding a user via AJAX.

param: string $action Action to perform.

wp_ajax_closed_postboxes()   X-Ref
Handles closed post boxes via AJAX.


wp_ajax_hidden_columns()   X-Ref
Handles hidden columns via AJAX.


wp_ajax_update_welcome_panel()   X-Ref
Handles updating whether to display the welcome panel via AJAX.


wp_ajax_menu_get_metabox()   X-Ref
Handles for retrieving menu meta boxes via AJAX.


wp_ajax_wp_link_ajax()   X-Ref
Handles internal linking via AJAX.


wp_ajax_menu_locations_save()   X-Ref
Handles saving menu locations via AJAX.


wp_ajax_meta_box_order()   X-Ref
Handles saving the meta box order via AJAX.


wp_ajax_menu_quick_search()   X-Ref
Handles menu quick searching via AJAX.


wp_ajax_get_permalink()   X-Ref
Handles retrieving a permalink via AJAX.


wp_ajax_sample_permalink()   X-Ref
Handles retrieving a sample permalink via AJAX.


wp_ajax_inline_save()   X-Ref
Handles Quick Edit saving a post from a list table via AJAX.


wp_ajax_inline_save_tax()   X-Ref
Handles Quick Edit saving for a term via AJAX.


wp_ajax_find_posts()   X-Ref
Handles querying posts for the Find Posts modal via AJAX.


wp_ajax_widgets_order()   X-Ref
Handles saving the widgets order via AJAX.


wp_ajax_save_widget()   X-Ref
Handles saving a widget via AJAX.


wp_ajax_update_widget()   X-Ref
Handles updating a widget via AJAX.


wp_ajax_delete_inactive_widgets()   X-Ref
Handles removing inactive widgets via AJAX.


wp_ajax_media_create_image_subsizes()   X-Ref
Handles creating missing image sub-sizes for just uploaded images via AJAX.


wp_ajax_upload_attachment()   X-Ref
Handles uploading attachments via AJAX.


wp_ajax_image_editor()   X-Ref
Handles image editing via AJAX.


wp_ajax_set_post_thumbnail()   X-Ref
Handles setting the featured image via AJAX.


wp_ajax_get_post_thumbnail_html()   X-Ref
Handles retrieving HTML for the featured image via AJAX.


wp_ajax_set_attachment_thumbnail()   X-Ref
Handles setting the featured image for an attachment via AJAX.


wp_ajax_date_format()   X-Ref
Handles formatting a date via AJAX.


wp_ajax_time_format()   X-Ref
Handles formatting a time via AJAX.


wp_ajax_wp_fullscreen_save_post()   X-Ref
Handles saving posts from the fullscreen editor via AJAX.


wp_ajax_wp_remove_post_lock()   X-Ref
Handles removing a post lock via AJAX.


wp_ajax_dismiss_wp_pointer()   X-Ref
Handles dismissing a WordPress pointer via AJAX.


wp_ajax_get_attachment()   X-Ref
Handles getting an attachment via AJAX.


wp_ajax_query_attachments()   X-Ref
Handles querying attachments via AJAX.


wp_ajax_save_attachment()   X-Ref
Handles updating attachment attributes via AJAX.


wp_ajax_save_attachment_compat()   X-Ref
Handles saving backward compatible attachment attributes via AJAX.


wp_ajax_save_attachment_order()   X-Ref
Handles saving the attachment order via AJAX.


wp_ajax_send_attachment_to_editor()   X-Ref
Handles sending an attachment to the editor via AJAX.

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
Handles sending a link to the editor via AJAX.

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
Handles the Heartbeat API via AJAX.

Runs when the user is logged in.


wp_ajax_get_revision_diffs()   X-Ref
Handles getting revision diffs via AJAX.


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


wp_ajax_query_themes()   X-Ref
Handles getting themes from themes_api() via AJAX.


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


wp_ajax_parse_media_shortcode()   X-Ref


wp_ajax_destroy_sessions()   X-Ref
Handles destroying multiple open sessions for a user via AJAX.


wp_ajax_crop_image()   X-Ref
Handles cropping an image via AJAX.


wp_ajax_generate_password()   X-Ref
Handles generating a password via AJAX.


wp_ajax_nopriv_generate_password()   X-Ref
Handles generating a password in the no-privilege context via AJAX.


wp_ajax_save_wporg_username()   X-Ref
Handles saving the user's WordPress.org username via AJAX.


wp_ajax_install_theme()   X-Ref
Handles installing a theme via AJAX.


wp_ajax_update_theme()   X-Ref
Handles updating a theme via AJAX.


wp_ajax_delete_theme()   X-Ref
Handles deleting a theme via AJAX.


wp_ajax_install_plugin()   X-Ref
Handles installing a plugin via AJAX.


wp_ajax_activate_plugin()   X-Ref
Handles activating a plugin via AJAX.


wp_ajax_update_plugin()   X-Ref
Handles updating a plugin via AJAX.


wp_ajax_delete_plugin()   X-Ref
Handles deleting a plugin via AJAX.


wp_ajax_search_plugins()   X-Ref
Handles searching plugins via AJAX.


wp_ajax_search_install_plugins()   X-Ref
Handles searching plugins to install via AJAX.


wp_ajax_edit_theme_plugin_file()   X-Ref
Handles editing a theme or plugin file via AJAX.


wp_ajax_wp_privacy_export_personal_data()   X-Ref
Handles exporting a user's personal data via AJAX.


wp_ajax_wp_privacy_erase_personal_data()   X-Ref
Handles erasing personal data via AJAX.


wp_ajax_health_check_dotorg_communication()   X-Ref
Handles site health checks on server communication via AJAX.


wp_ajax_health_check_background_updates()   X-Ref
Handles site health checks on background updates via AJAX.


wp_ajax_health_check_loopback_requests()   X-Ref
Handles site health checks on loopback requests via AJAX.


wp_ajax_health_check_site_status_result()   X-Ref
Handles site health check to update the result status via AJAX.


wp_ajax_health_check_get_sizes()   X-Ref
Handles site health check to get directories and database sizes via AJAX.


wp_ajax_rest_nonce()   X-Ref
Handles renewing the REST API nonce via AJAX.


wp_ajax_toggle_auto_updates()   X-Ref
Handles enabling or disable plugin and theme auto-updates via AJAX.


wp_ajax_send_password_reset()   X-Ref
Handles sending a password reset link via AJAX.




Generated : Sun May 19 08:20:01 2024 Cross-referenced by PHPXref