WordPress 5.3.0 Hooks, Functions, Classes and Methods
Page 11

map_meta_cap()

Maps a capability to the primitive capabilities required of the given user to satisfy the capability being checked.

media_handle_sideload()

Handles a side-loaded file in the same way as an uploaded file is handled by media_handle_upload().

media_sideload_image()

Downloads an image from the specified URL, saves it as an attachment, and optionally attaches it to a post.

rest_is_field_included()

Given an array of fields to include in a response, some of which may be nested.fields, determine whether the provided field should be…