Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
rest_insert_attachment

WordPress version history for rest_insert_attachment

This database has information for all major versions from WP 1.2.1 through 4.4.

Version File Line Type
4.7 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 168 View in context action
4.7 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 224 View in context action
4.8 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 173 View in context action
4.8 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 229 View in context action
4.9 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 170 View in context action
4.9 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 225 View in context action
5.0 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 173 View in context action
5.1 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 173 View in context action
5.2 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 173 View in context action
5.3 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 263 View in context action
5.4 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 292 View in context action
5.5 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 297 View in context action
5.6 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 299 View in context action
5.7 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 299 View in context action

Important warning!

This hook does not occur in the most recent version of WordPress (4.4). Do not use it. It is deprecated. You should look at the list of "related hooks" below to see if you can figure out what replaced it.

Related Hooks

We find related hooks using word stems. rest_insert_attachment has 3 significant word stem(s): rest, insert, attachment. Note that some of the hooks below may not appear in all versions of WP.