wpveda book

  Edit This Page

WordPress Architecture

WordPress File and Directory Structure

  • wp-admin/
  • wp-includes/
  • wp-content/
  • index.php
  • wp-blog-header.php
  • wp-load.php
  • wp-config.php
  • wp-settings.php
  • wp-cron.php

wp-includes folder contains all the other PHP files and classes which is required for WordPress’ core operations. Again, you shouldn’t want to edit any files in this directory.

wp-admin folder contains the various files of the WordPress dashboard. You know that all administrative or functions related to WordPress, such as writing posts, moderating comments, installing plugins and themes are done via the WordPress dashboard.

wp-content folder contains all user uploaded data and is again divided into four sub-folders:

  • themes
  • plugins
  • upload
  • mu-plugins

References

https://codex.wordpress.org/WordPress_Files

http://www.wpexplorer.com/wordpress-internal-function/

WordPress Database Tables

{prefix}_users

{prefix}_usermeta

{prefix}_posts

{prefix}_postmeta

{prefix}_comments

{prefix}_commentmeta

{prefix}_terms

{prefix}_termmeta

{prefix}_term_taxonomy

{prefix}_term_relationship

{prefix}_options {prefix}_links

References https://codex.wordpress.org/Database_Description

WordPress Core Load

References

https://www.rarst.net/wordpress/wordpress-core-load/

https://www.rarst.net/wordpress/wordpress-query-functions/

https://codex.wordpress.org/Plugin_API/Action_Reference

http://rachievee.com/the-wordpress-hooks-firing-sequence/