New and updated in 2.0.0
-
hookloop_end
Fires once the loop has ended.
-
hookposts_request
Filters the completed SQL query before sending.
-
methodWP_Query::set_404()
Sets the 404 property and saves whether query is feed.
-
hookpre_get_posts
Fires after the query variable object is created, but before the actual query is run.
-
hookposts_groupby
Filters the GROUP BY clause of the query.
-
Resets query flags to false.
-
functionis_preview()
Determines whether the query is for a post or page preview.
-
functionin_the_loop()
Determines whether the caller is in the Loop.
-
functionis_attachment()
Determines whether the query is for an existing attachment page.
-
functionget_all_category_ids()
Retrieves all category IDs.
-
functionwp_upload_bits()
Creates a file in the upload folder with given content.
-
hookupload_mimes
Filters the list of allowed mime types and file extensions.
-
functionwp_upload_dir()
Returns an array containing the current upload directory’s path and URL.
-
hookupload_dir
Filters the uploads directory data.
-
functionwp()
Sets up the WordPress query.
-
functionstatus_header()
Sets HTTP status header.
-
functionnocache_headers()
Sets the HTTP headers to prevent caching for the different browsers.
-
functionget_num_queries()
Retrieves the number of database queries during the WordPress execution.
-
functionmaybe_unserialize()
Unserializes data only if it was serialized.
-
hookrss2_ns
Fires at the end of the RSS root to add namespaces.
-
hookrss2_head
Fires at the end of the RSS2 Feed Header.
-
hookrss2_item
Fires at the end of each RSS2 feed item.
-
functionwp_delete_category()
Deletes one existing category.
-
functionget_attachment_link()
Retrieves the permalink for an attachment.
-
hookattachment_link
Filters the permalink for an attachment.
-
hookrss_head
Fires at the end of the RSS Feed Header.
-
hookrss_item
Fires at the end of each RSS feed item.
-
functionregister_activation_hook()
Set the activation hook for a plugin.
-
functionregister_deactivation_hook()
Sets the deactivation hook for a plugin.
-
functionget_comment_author_rss()
Retrieves the current comment author for use in the feeds.