Archive | Filters RSS feed for this section

wp_handle_sideload

Handle sideloads, which is the process of retrieving a media item from another server instead of a traditional media upload. This process involves sanitizing the filename, checking extensions for mime type, and moving the file to the appropriate directory within the uploads directory.

3755

Continue reading

wp_get_shortlink

Return a shortlink for a post, page, attachment, or blog.This function exists to provide a shortlink tag that all themes and plugins can target. A plugin must hook in to provide the actual shortlinks. Default shortlink support is limited to providing ?p= style links for posts. Plugins can short-circuit this function via the pre_get_shortlink filter or filter the output via the get_shortlink filter.

3749

Continue reading

wp_get_schedules

Retrieve supported and filtered Cron recurrences.The supported recurrences are ‘hourly’ and ‘daily’. A plugin may add more by hooking into the ‘cron_schedules’ filter. The filter accepts an array of arrays. The outer array has a key that is the name of the schedule or for example ‘weekly’. The value is an array with two keys, one is ‘interval’ and the other is ‘display’.

3747

Continue reading

wp_get_object_terms

Retrieves the terms associated with the given object(s), in the supplied taxonomies.The following information has to do the $args parameter and for what can be contained in the string or array of that parameter, if it exists.

3723

Continue reading

wp_get_nocache_headers

Gets the header information to prevent caching.The several different headers cover the different ways cache prevention is handled by different browsers

3721

Continue reading