Hooks
-
Fires before the plugins list table is rendered.
-
Filters whether an attachment deletion should take place.
-
hookpre_delete_post
Filters whether a post deletion should take place.
-
Fires immediately before a specific network option is deleted.
-
hookpre_delete_term
Fires when deleting a term, before any modifications are made to posts or terms.
-
Filters the locale for the current request prior to the default determination process.
-
Filters whether to call a shortcode callback.
-
hookpre_ent2ncr
Filters text before named entities are converted into numbered entities.
-
Filters the list of available post MIME types for the given post type.
-
hookpre_get_avatar
Allows the HTML for a user’s avatar to be returned early.
-
Filters whether to retrieve the avatar URL early.
-
Filters the block template object before the theme file discovery takes place.
-
Filters the block template object before the query takes place.
-
Filters the block templates array before the query takes place.
-
Filters the list of a user’s sites before it is populated.
-
Filters the column charset value before the DB is checked.
-
hookpre_get_comments
Fires before comments are retrieved.
-
Filters the document title before it is generated.
-
Filters the translation files retrieved from a specified path before the actual lookup.
-
Pre-filter the return value of get_lastpostmodified() before the query is run.
-
Filters the main site ID.
-
hookpre_get_networks
Fires before networks are retrieved.
-
Determines a network by its domain and path.
-
hookpre_get_posts
Fires after the query variable object is created, but before the actual query is run.
-
Filter to override retrieving ready cron jobs.
-
Filter to override retrieving a scheduled event.
-
Fires before the search form is retrieved, at the start of get_search_form().
-
Filters whether to preempt generating a shortlink for the given post.
-
hookpre_get_sites
Fires before sites are retrieved.
-
Determines a site by its domain and path.