Uma área de pesquisa sobre o WordPress para devs e autores do tema

wp-includes/deprecated.php ›

Deprecated functions from past WordPress versions. You shouldn't use these functions and look for the alternatives instead. The functions will be removed in a later version.

Function Short description
add_custom_backgroundAdd callbacks for background image display.
add_custom_image_headerAdd callbacks for image header display.
attribute_escapeEscaping for HTML attributes.
automatic_feed_linksEnable/disable automatic general feed link outputting.
clean_page_cacheWill clean the page in the cache.
clean_preAccepts matches array from preg_replace_callback in wpautop() or a string.
clean_urlChecks and cleans a URL.
comments_popup_scriptDisplay the JS popup script to show a comment.
comments_rssReturn link to the post RSS feed.
comments_rss_linkPrint RSS comment feed link.
create_userAn alias of wp_create_user().
debug_fcloseClose the debugging file handle.
debug_fopenOpen the file handle for debugging.
debug_fwriteWrite contents to the file used for debugging.
default_topic_count_textOld callback for tag link tooltips.
delete_usermetaRemove user meta data.
dropdown_catsDeprecated method for generating a drop-down of categories.
force_ssl_loginWhether SSL login should be forced.
format_to_postFormerly used to escape strings before inserting into the DB.
funky_javascript_callbackCallback used to change %uXXXX to &#YYY; syntax
funky_javascript_fixFixes JavaScript bugs in browsers.
gd_edit_image_supportCheck if the installed version of GD supports particular image type
get_alloptionsRetrieve all autoload options, or all options if no autoloaded ones exist.
get_all_category_idsRetrieves all category IDs.
get_archivesRetrieves a list of archives.
get_attachment_iconRetrieve HTML content of icon attachment image element.
get_attachment_icon_srcRetrieve icon URL and Path.
get_attachment_innerhtmlRetrieve HTML content of image element.
get_author_linkReturns or Prints link to the author's posts.
get_author_nameRetrieve the specified author's preferred display name.
get_author_rss_linkPrint/Return link to author RSS feed.
get_autotoggleGets the auto_toggle setting.
get_boundary_post_rel_linkGet boundary post relational link.
get_category_childrenRetrieve category children list separated before and after the term IDs.
get_category_rss_linkPrint/Return link to category RSS2 feed.
get_catnameRetrieve the category name by the category ID.
get_commentdataRetrieve an array of comment data about comment $comment_ID.
get_comments_popup_templateRetrieve path of comment popup template in current or parent template.
get_current_themeRetrieve current theme name.
get_index_rel_linkGet site index relational link.
get_linkRetrieves bookmark data based on ID.
get_linkcatnameGets the name of category by id.
get_linkobjectsGets an array of link objects associated with category n.
get_linkobjectsbynameGets an array of link objects associated with category $cat_name.
get_linkratingLegacy function that retrieved the value of a link's link_rating field.
get_linksGets the links associated with category by id.
get_linksbynameGets the links associated with category $cat_name.
get_linksbyname_withratingGets the links associated with category 'cat_name' and display rating stars/chars.
get_links_listOutput entire list of links by category.
get_links_withratingGets the links associated with category n and display rating stars/chars.
get_paged_templateRetrieve path of paged template in current or parent template.
get_parent_post_rel_linkGet parent post relational link.
get_postdataRetrieves all post data for a given post.
get_profileRetrieve user data based on field.
get_settingsGet value based on option.
get_shortcut_linkRetrieves the Press This bookmarklet link.
get_themeRetrieve theme data.
get_themesRetrieve list of themes with theme data in theme directory.
get_theme_dataRetrieve theme data from parsed theme file.
get_the_attachment_linkRetrieve HTML content of attachment image with link.
get_the_author_aimRetrieve the AIM address of the author of the current post.
get_the_author_descriptionRetrieve the description of the author of the current post.
get_the_author_emailRetrieve the email of the author of the current post.
get_the_author_firstnameRetrieve the first name of the author of the current post.
get_the_author_icqRetrieve the ICQ number of the author of the current post.
get_the_author_idRetrieve the ID of the author of the current post.
get_the_author_lastnameRetrieve the last name of the author of the current post.
get_the_author_loginRetrieve the login name of the author of the current post.
get_the_author_msnRetrieve the MSN address of the author of the current post.
get_the_author_nicknameRetrieve the nickname of the author of the current post.
get_the_author_urlRetrieve the URL to the home page of the author of the current post.
get_the_author_yimRetrieve the Yahoo! IM name of the author of the current post.
get_usermetaRetrieve user metadata.
get_usernumpostsRetrieves the number of posts a user has written.
get_users_of_blogGet users for the site.
get_user_metavaluesPerform the query to get the $metavalues array(s) needed by _fill_user and _fill_many_users
gzip_compressionUnused function.
image_resizeScale down an image to fit a particular size and save a new copy of the image.
index_rel_linkDisplay relational link for the site index.
is_blog_userChecks if the current user belong to a given site.
is_comments_popupWhether the current URL is within the comments popup window.
is_plugin_pageIs the current admin page generated by a plugin?
is_taxonomyChecks that the taxonomy name exists.
is_termCheck if Term exists.
js_escapeEscape single quotes, specialchar double quotes, and fix line endings.
like_escapeFormerly used to escape strings before searching the DB. It was poorly documented and never worked as described.
links_popup_scriptShow the link to the links popup and the number of links.
link_pagesPrint list of pages based on arguments.
list_authorsLists authors.
list_catsLists categories.
make_url_footnoteStrip HTML and put links at the bottom of stripped content.
next_postPrints link to the next post.
parent_post_rel_linkDisplay relational link for parent item
permalink_linkPrint the permalink of the current post in the loop.
permalink_single_rssPrint the permalink to the RSS feed.
popuplinksAdds element attributes to open links in new windows.
post_permalinkRetrieve permalink from post ID.
preview_themeStart preview theme output buffer.
preview_theme_ob_filterCallback function for ob_start() to capture all links in the theme.
preview_theme_ob_filter_callbackManipulates preview theme links in order to control and maintain location.
previous_postPrints a link to the previous post.
register_sidebar_widgetRegister widget for sidebar with backward compatibility.
register_widget_controlRegisters widget control callback for customizing options.
remove_custom_backgroundRemove custom background support.
remove_custom_image_headerRemove image header support.
rich_edit_existsDetermine if TinyMCE is available.
sanitize_urlPerforms esc_url() for database or redirect usage.
sanitize_user_objectSanitize every user field.
start_post_rel_linkDisplay relational link for the first post.
start_wpSets up the WordPress Loop.
sticky_classDisplay "sticky" CSS class, if a post is sticky.
the_author_aimDisplay the AIM address of the author of the current post.
the_author_descriptionDisplay the description of the author of the current post.
the_author_emailDisplay the email of the author of the current post.
the_author_firstnameDisplay the first name of the author of the current post.
the_author_icqDisplay the ICQ number of the author of the current post.
the_author_idDisplay the ID of the author of the current post.
the_author_lastnameDisplay the last name of the author of the current post.
the_author_loginDisplay the login name of the author of the current post.
the_author_msnDisplay the MSN address of the author of the current post.
the_author_nicknameDisplay the nickname of the author of the current post.
the_author_urlDisplay the URL to the home page of the author of the current post.
the_author_yimDisplay the Yahoo! IM name of the author of the current post.
the_category_headPrints a category with optional text before and after.
the_category_idReturns or prints a category ID.
the_content_rssDisplay the post content for the feed.
the_editorDisplays an editor: TinyMCE, HTML, or both.
translate_with_contextTranslates $text like translate(), but assumes that the text contains a context after its last vertical bar.
unregister_sidebar_widgetServes as an alias of wp_unregister_sidebar_widget().
unregister_widget_controlAlias of wp_unregister_widget_control().
update_category_cacheUpdate the categories cache.
update_page_cacheAlias of update_post_cache().
update_usermetaUpdate metadata of user.
url_is_accessable_via_sslDetermines if the URL can be accessed over SSL.
user_can_create_draftWhether user can create a post.
user_can_create_postWhether user can create a post.
user_can_delete_postWhether user can delete a post.
user_can_delete_post_commentsWhether user can delete a post.
user_can_edit_postWhether user can edit a post.
user_can_edit_post_commentsWhether user can delete a post.
user_can_edit_post_dateWhether user can delete a post.
user_can_edit_userCan user can edit other user.
user_can_set_post_dateWhether user can set new posts' dates.
user_pass_okCheck that the user login name and password is correct.
wp_admin_bar_dashboard_view_site_menuAdd the "Dashboard"/"Visit Site" menu.
wp_ajax_press_this_add_categoryAjax handler for creating new category from Press This.
wp_ajax_press_this_save_postAjax handler for saving a post from Press This.
wp_convert_bytes_to_hrConverts an integer byte value to a shorthand byte value.
wp_embed_handler_googlevideoThe Google Video embed handler callback.
wp_explain_nonceRetrieve nonce action "Are you sure" message.
wp_get_httpPerform a HTTP HEAD or GET request.
wp_get_linksGets the links associated with category.
wp_get_linksbynameGets the links associated with the named category.
wp_get_post_catsRetrieves a list of post categories.
wp_get_single_postRetrieve a single post, based on post ID.
wp_htmledit_preFormats text for the HTML editor.
wp_kses_js_entitiesRemoves the HTML JavaScript entities found in early versions of Netscape 4.
wp_list_catsLists categories.
wp_load_imageLoad an image from a string, if PHP supports it.
wp_richedit_preFormats text for the rich text editor.
wp_set_post_catsSets the categories that the post id belongs to.
wp_specialcharsLegacy escaping for HTML blocks.
wp_timezone_supportedCheck for PHP timezone support
_cRetrieve translated string with vertical bar context
_get_post_ancestorsRetrieve post ancestors.
_ncLegacy version of _n(), which supports contexts.
_preview_theme_stylesheet_filterPrivate function to modify the current stylesheet when previewing a theme
_preview_theme_template_filterPrivate function to modify the current template when previewing a theme
_save_post_hookCallback formerly fired on the save_post hook. No longer needed.
_search_terms_tidyFormerly used internally to tidy up the search terms.
_sort_nav_menu_itemsSort menu items by the desired key.
_usort_terms_by_idSort categories by ID.
_usort_terms_by_nameSort categories by name.
__ngettextRetrieve the plural or single form based on the amount.
__ngettext_noopRegister plural strings in POT file, but don't translate them.