Understanding Entire WordPress Core Source Code
Is this possible?
Majority of tutorials talk about using WordPress specific functions and objects from an external point of view. i.e. Use the Loop in this way, create a WP_Query by passing in arguments – but it’s all on a very superficial level.
I tried diving into the source code and reading the entirety of let’s say, class-wp-query.php, or plugin.php where Hooks are created and it’s extremely difficult. There’s so many properties / variables and functions being initialized and starting all over the place.
I look at one class function and it’s initializing 10 properties, calling upon 5 internal class methods (and each method is referencing more internal/external functions and properties), 5 global constants, 8 external functions defined in another .php file that’s included and god knows where all over the place.