Title: Functions | Page 47 of 49 | Developer.WordPress.org

---

# Functions

 * function[previous_image_link()](https://developer.wordpress.org/reference/functions/previous_image_link/)
 * Displays previous image link that has the same post parent.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/previous_image_link/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/previous_image_link/#uses)
   | Source: [wp-includes/media.php:3892](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/media.php#L3892-L3894)
 * function[previous_post()](https://developer.wordpress.org/reference/functions/previous_post/)
 * Prints a link to the previous post.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/previous_post/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/previous_post/#uses)
   | Source: [wp-includes/deprecated.php:137](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L137-L158)
 * function[previous_posts()](https://developer.wordpress.org/reference/functions/previous_posts/)
 * Displays or retrieves the previous posts page link.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/previous_posts/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/previous_posts/#uses)
   | Source: [wp-includes/link-template.php:2650](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/link-template.php#L2650-L2659)
 * function[previous_posts_link()](https://developer.wordpress.org/reference/functions/previous_posts_link/)
 * Displays the previous posts page link.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/previous_posts_link/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/previous_posts_link/#uses)
   | Source: [wp-includes/link-template.php:2704](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/link-template.php#L2704-L2706)
 * function[previous_post_link()](https://developer.wordpress.org/reference/functions/previous_post_link/)
 * Displays the previous post link that is adjacent to the current post.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/previous_post_link/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/previous_post_link/#uses)
   | Source: [wp-includes/link-template.php:2285](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/link-template.php#L2285-L2287)
 * function[prev_post_rel_link()](https://developer.wordpress.org/reference/functions/prev_post_rel_link/)
 * Displays the relational link for the previous post adjacent to the current post.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/prev_post_rel_link/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/prev_post_rel_link/#uses)
   | Source: [wp-includes/link-template.php:2180](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/link-template.php#L2180-L2182)
 * function[pre_schema_upgrade()](https://developer.wordpress.org/reference/functions/pre_schema_upgrade/)
 * Runs before the schema is upgraded.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/pre_schema_upgrade/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/pre_schema_upgrade/#uses)
   | Source: [wp-admin/includes/upgrade.php:3730](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/upgrade.php#L3730-L3796)
 * function[print_admin_styles()](https://developer.wordpress.org/reference/functions/print_admin_styles/)
 * Prints the styles queue in the HTML head on admin pages.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/print_admin_styles/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/print_admin_styles/#uses)
   | Source: [wp-includes/script-loader.php:2341](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/script-loader.php#L2341-L2363)
 * function[print_column_headers()](https://developer.wordpress.org/reference/functions/print_column_headers/)
 * Prints column headers for a particular screen.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/print_column_headers/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/print_column_headers/#uses)
   | Source: [wp-admin/includes/list-table.php:104](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/list-table.php#L104-L108)
 * function[print_embed_comments_button()](https://developer.wordpress.org/reference/functions/print_embed_comments_button/)
 * Prints the necessary markup for the embed comments button.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/print_embed_comments_button/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/print_embed_comments_button/#uses)
   | Source: [wp-includes/embed.php:1134](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/embed.php#L1134-L1156)
 * function[print_embed_scripts()](https://developer.wordpress.org/reference/functions/print_embed_scripts/)
 * Prints the JavaScript in the embed iframe header.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/print_embed_scripts/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/print_embed_scripts/#uses)
   | Source: [wp-includes/embed.php:1103](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/embed.php#L1103-L1108)
 * function[print_embed_sharing_button()](https://developer.wordpress.org/reference/functions/print_embed_sharing_button/)
 * Prints the necessary markup for the embed sharing button.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/print_embed_sharing_button/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/print_embed_sharing_button/#uses)
   | Source: [wp-includes/embed.php:1163](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/embed.php#L1163-L1174)
 * function[print_embed_sharing_dialog()](https://developer.wordpress.org/reference/functions/print_embed_sharing_dialog/)
 * Prints the necessary markup for the embed sharing dialog.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/print_embed_sharing_dialog/#used-by)
   | Uses [9 functions](https://developer.wordpress.org/reference/functions/print_embed_sharing_dialog/#uses)
   | Source: [wp-includes/embed.php:1181](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/embed.php#L1181-L1225)
 * function[print_embed_styles()](https://developer.wordpress.org/reference/functions/print_embed_styles/)
 * Prints the CSS in the embed iframe header.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/print_embed_styles/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/print_embed_styles/#uses)
   | Source: [wp-includes/deprecated.php:5896](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L5896-L5905)
 * function[print_emoji_detection_script()](https://developer.wordpress.org/reference/functions/print_emoji_detection_script/)
 * Prints the inline Emoji detection script if it is not already printed.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/print_emoji_detection_script/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/print_emoji_detection_script/#uses)
   | Source: [wp-includes/formatting.php:5901](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/formatting.php#L5901-L5915)
 * function[print_emoji_styles()](https://developer.wordpress.org/reference/functions/print_emoji_styles/)
 * Prints the important emoji-related styles.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/print_emoji_styles/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/print_emoji_styles/#uses)
   | Source: [wp-includes/deprecated.php:5913](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L5913-L5939)
 * function[print_footer_scripts()](https://developer.wordpress.org/reference/functions/print_footer_scripts/)
 * Prints the scripts that were queued for the footer or too late for the HTML head.
 * Used by [4 functions](https://developer.wordpress.org/reference/functions/print_footer_scripts/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/print_footer_scripts/#uses)
   | Source: [wp-includes/script-loader.php:2186](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/script-loader.php#L2186-L2209)
 * function[print_head_scripts()](https://developer.wordpress.org/reference/functions/print_head_scripts/)
 * Prints the script queue in the HTML head on admin pages.
 * Used by [3 functions](https://developer.wordpress.org/reference/functions/print_head_scripts/#used-by)
   | Uses [7 functions](https://developer.wordpress.org/reference/functions/print_head_scripts/#uses)
   | Source: [wp-includes/script-loader.php:2147](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/script-loader.php#L2147-L2174)
 * function[print_late_styles()](https://developer.wordpress.org/reference/functions/print_late_styles/)
 * Prints the styles that were queued too late for the HTML head.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/print_late_styles/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/print_late_styles/#uses)
   | Source: [wp-includes/script-loader.php:2375](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/script-loader.php#L2375-L2399)
 * function[privacy_ping_filter()](https://developer.wordpress.org/reference/functions/privacy_ping_filter/)
 * Checks whether blog is public before returning sites.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/privacy_ping_filter/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/privacy_ping_filter/#uses)
   | Source: [wp-includes/comment.php:3295](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/comment.php#L3295-L3301)
 * function[query_posts()](https://developer.wordpress.org/reference/functions/query_posts/)
 * Sets up The Loop with query parameters.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/query_posts/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/query_posts/#uses)
   | Source: [wp-includes/query.php:97](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/query.php#L97-L100)
 * function[rawurlencode_deep()](https://developer.wordpress.org/reference/functions/rawurlencode_deep/)
 * Navigates through an array, object, or scalar, and raw-encodes the values to 
   be used in a URL.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/rawurlencode_deep/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/rawurlencode_deep/#uses)
   | Source: [wp-includes/formatting.php:2887](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/formatting.php#L2887-L2889)
 * function[read()](https://developer.wordpress.org/reference/functions/avifinfo-read/)
 * Reads bytes and advances the stream position by the same count.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/avifinfo-read/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/functions/avifinfo-read/#uses)
   | Source: [wp-includes/class-avif-info.php:64](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/class-avif-info.php#L64-L67)
 * function[readonly()](https://developer.wordpress.org/reference/functions/readonly/)
 * Outputs the HTML readonly attribute.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/readonly/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/readonly/#uses)
   | Source: [wp-includes/php-compat/readonly.php:34](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/php-compat/readonly.php#L34-L37)
 * function[read_big_endian()](https://developer.wordpress.org/reference/functions/avifinfo-read_big_endian/)
 * Reads an unsigned integer with most significant bits first.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/avifinfo-read_big_endian/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/functions/avifinfo-read_big_endian/#uses)
   | Source: [wp-includes/class-avif-info.php:42](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/class-avif-info.php#L42-L55)
 * function[recurse_dirsize()](https://developer.wordpress.org/reference/functions/recurse_dirsize/)
 * Gets the size of a directory recursively.
 * Used by [3 functions](https://developer.wordpress.org/reference/functions/recurse_dirsize/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/recurse_dirsize/#uses)
   | Source: [wp-includes/functions.php:8815](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/functions.php#L8815-L8914)
 * function[redirect_canonical()](https://developer.wordpress.org/reference/functions/redirect_canonical/)
 * Redirects incoming links to the proper URL based on the site url.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/redirect_canonical/#used-by)
   | Uses [75 functions](https://developer.wordpress.org/reference/functions/redirect_canonical/#uses)
   | Source: [wp-includes/canonical.php:42](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/canonical.php#L42-L849)
 * function[redirect_guess_404_permalink()](https://developer.wordpress.org/reference/functions/redirect_guess_404_permalink/)
 * Attempts to guess the correct URL for a 404 request based on query vars.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/redirect_guess_404_permalink/#used-by)
   | Uses [12 functions](https://developer.wordpress.org/reference/functions/redirect_guess_404_permalink/#uses)
   | Source: [wp-includes/canonical.php:926](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/canonical.php#L926-L1026)
 * function[redirect_post()](https://developer.wordpress.org/reference/functions/redirect_post/)
 * Redirects to previous page.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/redirect_post/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/redirect_post/#uses)
   | Source: [wp-admin/includes/post.php:2192](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/post.php#L2192-L2234)
 * function[redirect_this_site()](https://developer.wordpress.org/reference/functions/redirect_this_site/)
 * Ensures that the current site’s domain is listed in the allowed redirect host
   list.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/redirect_this_site/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/redirect_this_site/#uses)
   | Source: [wp-includes/ms-functions.php:2128](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/ms-functions.php#L2128-L2130)

 [Previous Page](https://developer.wordpress.org/reference/functions/page/46/?output_format=md)

[1](https://developer.wordpress.org/reference/functions/?output_format=md) … [45](https://developer.wordpress.org/reference/functions/page/45/?output_format=md)
[46](https://developer.wordpress.org/reference/functions/page/46/?output_format=md)
47 [48](https://developer.wordpress.org/reference/functions/page/48/?output_format=md)
[49](https://developer.wordpress.org/reference/functions/page/49/?output_format=md)

 [Next Page](https://developer.wordpress.org/reference/functions/page/48/?output_format=md)