{"id":10829891,"date":"2018-11-18T04:43:16","date_gmt":"2018-11-18T04:43:16","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=helphub_article&p=10829891"},"modified":"2024-02-22T21:39:58","modified_gmt":"2024-02-22T21:39:58","slug":"wordpress-glossary","status":"publish","type":"helphub_article","link":"https:\/\/wordpress.org\/documentation\/article\/wordpress-glossary\/","title":{"rendered":"WordPress Glossary"},"content":{"rendered":"\n
This document is designed to offer definitions of various terms, exclusive to WordPress, that users may not be familiar with.<\/p>\n\n\n\n
If you are a contributor, please<\/strong> don’t add definitions for generic terms (API, PHP, JavaScript, etc…).<\/p>\n\n\n\n (also known as a full path<\/strong>)<\/em>\n<\/p>\n\n\n\n The complete location of a file or directory within a computer filesystem. An absolute path starts at the root directory (or drive letter) and continues up the directory hierarchy until the specific file or directory is reached. This contrasts with a relative path<\/a>, which does not start at the root directory.<\/p>\n\n\n\n The syntax of absolute paths differs by operating system. On Microsoft Windows, they begin with a drive letter and use a backslash to separate directory names. Absolute paths on macOS and Linux lack drive letters and use a forward slash as the directory separator.<\/p>\n\n\n\n Examples:\n<\/p>\n\n\n\n To find the absolute filesystem path of the directory containing a web page, copy the code below into a new text file, save the file as path.php<\/em> (thus making a simple PHP web page), and move that file to your web server<\/a>. Then direct your web browser to the URL<\/a> address of that file (e.g. http:\/\/www.example.com\/path.php<\/a><\/em>).<\/p>\n\n\n\n See also: Path (computing) at Wikipedia<\/a>\n<\/p>\n\n\n\n (also known as a full URI<\/strong>)<\/em>\n<\/p>\n\n\n\n A URI that contains the complete location of a resource (as opposed to a relative URI<\/a>).<\/p>\n\n\n\n Examples:\n<\/p>\n\n\n\n In WordPress; an Action is a PHP function<\/a> that is executed at specific points throughout the WordPress Core.\n<\/p>\n\n\n\n Developers can create a custom<\/strong> Action using the Action API<\/a> to add or remove code from an existing Action by specifying any existing Hook<\/a>. This process is called “hooking<\/a>“.\n<\/p>\n\n\n\n For example:<\/strong> A developer may want to add<\/strong> code to the footer of a Theme. This could be accomplished by writing new function, then Hooking it to the wp_footer<\/a> Action.\n<\/p>\n\n\n\n Custom Actions differ from custom Filters<\/a><\/em><\/strong> because custom Actions allow you to add or remove<\/strong> code from existing Actions. Whereas custom Filters allow you to replace<\/strong> specific data (such as a variable) found within an existing Action.<\/p>\n\n\n\n An area of the screen just above your site that gives you quick\naccess to features such as adding a new post or editing your profile.\nIt is only visible if you are logged in.\n<\/p>\n\n\n\n The admin bar concept was added to WordPress in Version 3.1<\/a> and was replaced by the Toolbar<\/a> in WordPress Version 3.3<\/a>. To turn it on (or off), open the Dashboard and navigate to Administration<\/a> > Users<\/a> > Your Profile<\/a>.<\/p>\n\n\n\n Ajax<\/strong> is a technique that web pages use to have the server perform certain processing without reloading the web page. For example, when you approve a comment in a WordPress blog, WordPress uses Ajax to change the comment’s status, and you see the change without having to reload the Comments screen.<\/p>\n\n\n\n Apache<\/strong> is short for Apache HTTP Server Project<\/a><\/strong>, a robust, commercial-grade, featureful, and freely-available open source HTTP Web server<\/a> software produced by the Apache Software Foundation<\/a>. It is the most commonly used web server on the internet, and is available on many platforms, including Windows, Unix<\/a>\/Linux<\/a>, and Mac OS X<\/a>. Apache serves as a great foundation for publishing WordPress-powered sites.<\/p>\n\n\n\n Please refer to Wikipedia page<\/a> for a definition. <\/p>\n\n\n\n An array<\/strong> is one of the basic data structures used in computer programming. An array<\/em> contains a list (or vector<\/em>) of items such as numeric or string values. Arrays<\/em> allow programmers to randomly access data. Data can be stored in either one-dimensional<\/em> or multi-dimensional arrays<\/em>.\n<\/p>\n\n\n\n A one-dimension array seven (7) elements would be:\n<\/p>\n\n\n\nAbsolute Path<\/h2>\n\n\n\n
\n
C:\\Users\\Matt\\www\\blog\\images\\icecream.jpg<\/code><\/li>\n\n\n\n
\/Users\/Matt\/www\/blog\/images\/icecream.jpg<\/code><\/li>\n\n\n\n
\/home\/Matt\/www\/blog\/images\/icecream.jpg<\/code><\/li>\n<\/ul>\n\n\n\n
<?php\necho getcwd();\n?>\n<\/pre>\n\n\n\n
Absolute URI<\/h2>\n\n\n\n
\n
http:\/\/www.example.com\/blog\/images\/icecream.jpg<\/code><\/li>\n\n\n\n
ftp:\/\/ftp.example.com\/users\/h\/harriet\/www\/<\/code><\/li>\n<\/ul>\n\n\n\n
Action<\/h2>\n\n\n\n
\n
Admin Bar<\/h2>\n\n\n\n
\n
Ajax<\/h2>\n\n\n\n
\n
Apache<\/h2>\n\n\n\n
API<\/h2>\n\n\n\n
Array<\/h2>\n\n\n\n