[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

Administration API: Core Ajax handlers

File Size: 5525 lines (149 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 95 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_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
Ajax handler for the Heartbeat API in the no-privilege context.

Runs when the user is not logged in.

since: 3.6.0

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

since: 3.1.0

wp_ajax_ajax_tag_search()   X-Ref
Ajax handler for tag search.

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.4.0

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

since: 4.8.0

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

since: 3.4.0

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

since: 3.4.0

_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
since: 2.7.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

param: string $action Action to perform.
since: 3.1.0

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

param: string $action Action to perform.
since: 3.1.0

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

param: string $action Action to perform.
since: 3.1.0

wp_ajax_delete_page( $action )   X-Ref
Ajax handler to delete a page.

param: string $action Action to perform.
since: 3.1.0

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

since: 3.1.0

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

param: string $action Action to perform.
since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

param: string $action Action to perform.
since: 3.1.0

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

param: string $action Action to perform.
since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

param: string $action Action to perform.
since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.9.0

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

since: 4.4.0

wp_ajax_media_create_image_subsizes()   X-Ref
Ajax handler for creating missing image sub-sizes for just uploaded images.

since: 5.3.0

wp_ajax_upload_attachment()   X-Ref
Ajax handler for uploading attachments

since: 3.3.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 4.6.0

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

since: 4.0.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.1.0

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

since: 3.5.0

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

since: 3.5.0

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

since: 3.5.0

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

since: 3.5.0

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

since: 3.5.0

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.

since: 3.5.0

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

since: 3.5.0

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

Runs when the user is logged in.

since: 3.6.0

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

since: 3.6.0

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

since: 3.8.0

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

since: 3.9.0

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

since: 4.0.0

wp_ajax_parse_media_shortcode()   X-Ref

since: 4.0.0

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

since: 4.1.0

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

since: 4.3.0

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

since: 4.4.0

wp_ajax_nopriv_generate_password()   X-Ref
Ajax handler for generating a password in the no-privilege context.

since: 5.7.0

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

since: 4.4.0

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

since: 4.6.0

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

since: 4.6.0

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

since: 4.6.0

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

since: 4.6.0

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

since: 4.2.0

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

since: 4.6.0

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

since: 4.6.0

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

since: 4.6.0

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

since: 4.9.0

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

since: 4.9.6

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

since: 4.9.6

wp_ajax_health_check_dotorg_communication()   X-Ref
Ajax handler for site health checks on server communication.

since: 5.2.0

wp_ajax_health_check_background_updates()   X-Ref
Ajax handler for site health checks on background updates.

since: 5.2.0

wp_ajax_health_check_loopback_requests()   X-Ref
Ajax handler for site health checks on loopback requests.

since: 5.2.0

wp_ajax_health_check_site_status_result()   X-Ref
Ajax handler for site health check to update the result status.

since: 5.2.0

wp_ajax_health_check_get_sizes()   X-Ref
Ajax handler for site health check to get directories and database sizes.

since: 5.2.0

wp_ajax_rest_nonce()   X-Ref
Ajax handler to renew the REST API nonce.

since: 5.3.0

wp_ajax_toggle_auto_updates()   X-Ref
Ajax handler to enable or disable plugin and theme auto-updates.

since: 5.5.0

wp_ajax_send_password_reset()   X-Ref
Ajax handler sends a password reset link.

since: 5.7.0



Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1