Wordpress Reference

Reference Wordpress

The team at our site created this quick guide to speed up our WordPress theme development and we found it so useful that we'd like to share it with you. Functions by Category Functions by Category Also there are some features related to action and filtering (the Plugin API) that are mainly used for plugin development. Thus, this paper will list most of the kernel features, with the exception of template tags. Create subpages to undocumented features or at least briefly comment on the following list to include them.

When creating a sub-page for a feature, please add information and samples of how to use that feature, if possible, according to the samples in template tags. Here you can enumerate further features that follow the categorical tree. Fix bugs by dragging features into better categorizations and, of course, fix spelling mistakes.

Hint: It is ok that a feature appears in more than one group. Select'Tags' to find a particular release sourcecode, or 'Trunk' to view the latest release sourcecode.

credential

Offers extra widgets areas at all major points, such as a top header, a rich menus area ( ideal for text link ads), three top headers (perfect for current messages or leads generator forms) and four widgets at the bottom (perfect for blog scrolls or an "About" section).....

Actions executed during a type of request Actions executed during a type of request.

For more information about what filtering and scrolling shooks are, see Plugin API. A reference listing of the filters can be found under Plugin API/Filter Reference. You can only display this listing the first times you call each activity, and in many cases, no functions are associated with the activity. To prove this, this mailing lists appeals that are specifically for the topic twenty-eleven.

A cron task can also be triggered when a visitor enters the site and adds extra hits. With the exception of the selected (ref array), with the exception of the selected (ref array), operations are invoked with the call to do_action_ref_array(). Those operations are performed when a registered version 3.3.1 users opens the Contributions page. Only the first instance of an operation is shown in this window, and in many cases no functions are associated with the operation.

Every administrator page has a different set of operations, dependent on the page's intended use and the plug-ins used.

There are no functional argumentations. Add_attachment is executed when an appended filename is added to the DB for the first time. Helpful to insert a box in this shape before the submission tool icon category_edit_form is running when the categories editing shape is generated in the administration.

Helpful to append a new box to this formal_post_cache x Will be executed when the mail queue is cleared. Argument of the actions function: Post-ID. Argument for actions functions: ID.delete_attachment class x Is executed just before an appended filename is removed from the DB.

Argument of the activity function: Asset ID. Used before 2.8, this hook was raised after the appendix was removed.)delete_category x Runs shortly after a categorie was removed from the repository and the corresponding links/posts were refreshed to delete theategory. Argument for actions functions: ID.wp_trash_post class x Running when a posting or page is about to be destroyed.

Argument of the actions function: mail or page ID.before_delete_post Will be executed if a posting or page is to be removed. Argument for the actions function: mail or page ID.delete_post Will be executed if a posting or page is to be removed. Argument for the actions function: mail or page ID.deleted_post x running shortly after a posting or page has been removed.

Argument for actions functions: Mail or page ID.edit_attachment x Is executed when an appended filename is processed or refreshed in the data base. Actions feature arguments: Appendix ID.edit_category x Will be executed when a categorie is updated/edited, to include when a posting or blog roll links is added/deleted or its categorys are refreshed (resulting in the number for the categorie being updated).

Activity Arguments: ID.edit_post class ID.edit_post x Will be executed when a contribution or page is updated/edited, even if a comments is added or refreshed (which updates the number of comments for the contribution). Argument of the actions function: mail or page ID.pre_post_update x running just before a posting or page is refreshed.

Argument of the operation function: Mail or page ID, mail's pre-edup and post-up mail objects before and after the upgrade. transition_post_status x Will be executed when the mail passes. Argument for actions: Used to change the state of a message from $old_status to $new_status (see also Mail State Transitions.)(old state)_to_(new state) x Running when a message changes the state from $old_status to $new_status.

Argument for actions: Returns when a contribution of typ $post_type is transferred from any other state to the stat $status. Argument of the actions function: Post-ID, $postobjekt. See also Mail State Transitions.)publish_post (not obsolete) x Running when a contribution is posted, or when it is processed and its state changes to "published".

Corresponds to the activity checker category (status)_(post_type). Argument of the actions function: Post-ID, $postobjekt. Publish_page When a page is posted, or when it is processed and its state changes to posted. Corresponds to the activity checker category (status)_(post_type).

Advantages of the actions function: Post-ID, $postobjekt. Publish_phone is running shortly after a posting has been added by e-mail. Item Argument: after ID.publish_future_post x running when a prospective contribution or page is posted. Aktionsfunktionsargumente: post ID.save_post x Is executed when a contribution or page is generated or refreshed that may originate from an imported file, a post/page editing template, XMLrc, or a mail via e-mail.

Argument of the actions function: Mail ID and mail objects. Starts after the information is stored in the repository. Notice that the mail ID may refer to a postal review and not to the last posted item.

0) edit_terms (Since 2.9. 0) x Running before the specified items are processed. edited_terms x Running after the taxonomy/category modification has been stored in the data base. edit_term_taxonomy x Running before a termtaxonomy relationship is refreshed.

O ) Running after a word to clear the child, a parental will be re-assigned. Edit_$taxonomy x run after editing a word for a particular taxi. edited_$taxonomy x run after editing a word in a particular taxi and cleaning up the terms are cached.

Pre_delete_term (Since 4.1. 0) Pre-run before making changes to articles or words. Pre-run before deleting_term_taxonomy (Since 2.9. 0) Pre-run before deleting a word tag ID from the repository (after changing the word chidren). deleted_term_taxonomy Done (Since 2.9. 0) x After deleting a concept, run taxi ID. deleted_term Done (Since 2.5. 0) x After deleting a concept from the data base and cleaning up the data base.

Allows you to specify a search string (Paramètres: $Term_ID, $Term_taxonomy_ID, $Taxonomy_slug, $already_deleted_term)delete_$taxonomy (Since 2.3. 0) x Searches for a word in a certain type of taxes. Defaults to the following: (Paramètres: $Term_ID, $Term_taxonomy_ID, $already_deleted_term)deleted_$taxonomy x After deleting a word in a certain taxi and cleaning up the word queue, it will run. delete_term_relationships Page 2.

9. Selects the object_term_relationships (from 2.9. 0) × Selects the object_term_cache (from 2.5. 0) × Selects the object_term_cache (from 2.5. 0) × Selects the object_term_cache (from 2.5. 0) after cleaning up the object_term_cache.

Points of the actions function: timestamp of the preceding command, timestamp of the actual command. comm_ (old state) _to_ (new state) x Running when a change of command state takes place. Argumente for actions functions: Annotation item. comments_on_draft× Running if the posting is a design while attempting to view a annotation item shape or annotations. Intervention argument: after ID.comment_post is entered Shortly after a command has been stored in the data base.

Values of the actions function: Comments ID.pingback_post Is executed when a pending is added to a posting. Intervention argument: Comments ID.pre_ping x Running before a pending is fully computed. Parameters of the actions function: arrays of the mail link to be handled and the option "pung" for the mail. traceback_post x runs when a traceback is added to a mail.

Comments ID.wp_blacklist_check Running to see if a comments should be added to the blacklist. Authors' name, e-mail addresses, URLs of authors, comments, IP addresses of authors, agents of authors (browsers).

Argument for actions functions: ID.delete_link ID file ID.delete_link file ID.delete_link file ID.delete_link file ID.delete_link file ID.delete_link file ID.delete_link file Argument for actions functions: ID.edit_link Will be executed when editing a logroll/bloglink.

Response functions arguments: Annotation ID, Post-ID.do_feed_(feed) x running when a fed is created, where fed is the fed style (rss2, atom, rdf, etc.). RTF_header x Does it run shortly after the blogs information has been published in an RSS reader feeder, just before the first item.

Rss2_head x Returns immediately after printing the record information (but before you close the item tag) for each blogs record in an RSS feed. Rss2_head x Returns immediately after printing the blogs information in an RSS 2, just before the first record.

Generally used to carry out essential set-up, registry and initialization operations for a topic. comman_form x Occurs at the bottom of a comments page render by comment_form(), immediately before you close . Aktionsfunktionsargument: the contribution ID.comment_form_after x running after the comments page is renders by comment_form(), immediately after closure . c_robots × running, if the filename selection dialog of the submission specifies that it is a robot. dxt request. d_robotstxt running in the filename dialog running in the filename selection dialog before outputting the robot's blacklists.

Arguments of the actions function: Name of the new topic. Arguments of the actions function: Name of the new topic. When used in a design, it only works if the design that is adding the operation is the one that is activated.

Argument of the actions function: Name of the optional, value of the optional. To reply when the "foo" has been added, you must specify an operation for the specified items that you want to reply to, such as'add_option_foo'. add_option × Runs before adding an option to the database. added_option × Runs after adding an option.

Admin_head × head> in the administration area. admin_head-(page_hook) or admin_head-(plugin_page) x run in the HTML area of a particular administration page or in the administration area of a plugin-generated page. administrator_init run at the beginning of each administration page before the page is displayed.

page_hook is retrieved when using any of the following function that adds plug-in menus to the administrator menu: add_management_page(), add_options_page(), add_options_page(), etc.

Argument of the actions function: arrays of logon name, first passcode, second passcode. at the bottom of the section "Advanced" on the page edit page display in the administration menu. dbx_page_sidebar at the bottom of the page bar on the page edit page display in the administration menu.

Argument of the actions function: Name of the optional. To react if the "foo" flag has been cleared, you must include an operation for the specified items to which you want to react, such as'delete_option_foo'. delete_option running before an item is cleared from the DB. deleted_option running after an item has been cleared. delete_user running once a custom is cleared.

edit_tag_form RUN after the addition/editing tags forms have been placed on the monitor (but before the end of the HTML tags ). edit_tag_form_pre RUN before the tags editing forms appear in the administrator menu on the monitor.

Normally this operation is not added directly -- see Creating Administration Menu for more information on how to create Administration Maps.

Argument of the actions function: Spaltenname, Link-ID. Argument of the actions function: Spaltenname, Post-ID.

Argument of the actions function: Spaltenname, Seiten-ID.

Argument of the actions function: Spaltenname, Seiten-ID. Also see Filters manage_media_columns in the Plugin API/Filter Reference that add customized posts. manage_{$post_type}_posts_custom_column x If there is an unfamiliar management tree name for the customized mailbox, manage_{$post_type}_posts_custom_column x will run. Argument of the actions function: Spaltenname, Post-ID.

profiles_personal_options is running at the end of the Personal Options section on the Custom Properties dialog. profiles_update is running when a user's account details are refreshed.

Argument of the actions function: old optional value, new optional value. To react if the "foo" flag has been upgraded, you must include an operation for the specified items you want to react to, such as'update_option_foo'. Update_option running before an item in the DB is upgraded. Update_option running after an item has been upgraded. upload_files_(tab) running to display a monitor on the management screens of the upload file; and " tab" is the name of the user-defined tabs.

Arguments of the actions function:

will be executed when a user's credentials are first generated in a multisite enviroment. Arguments of the actions function: Benutzer-ID. When not in multisite, use username_register. username_register x Is executed when a user's credentials are initially used. Arguments of the actions function: username ID.welcome_panel Allows you to suppress the welcome panel in the dashboard.

3. 0+) admin_menu × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × ×

Please notice that check_ajax_referer is also a "pluggable" feature, i.e. a plugin can overwrite it; see Plugin API). To be used with the Customization API (version 3.4 or later). customize_register x Works with every requirement, so designers can add new customization API themes and control elements for use with the Customization API (version 3.4 or later). customize_preview_init x Allows you to insert asset (e.g. Java script files) only directly in the Customizer themes.

To be used to the themes Customization API (ab Version 3.4). désactivated_plugin x running chaque fois qu'un t utoriel est correctement désactivégenerate_rewrite_rules x running after the désactivément les rewritures sont générés. Argument for actions: Reference write control objects ($wp_rewrite). Administration menus)parse_query x Executes at the end of question persistence in the primary query or any instances of WP_Query, such as query_posts, get_posts, or get_children.

Argumente for actions functions: This is the key of the actions function: Argumente for actions functions: This is the key of the actions function:

This is useful if you need postal information but cannot use a template for your mailouts. Arguments of the actions function: Reference IP address objects ($wp).

Auch interessant

Mehr zum Thema