When is the wp-mail.php in the WP root requested?

But I wonder, when is this file being executed? It seems to not be used anymore. The old Codex info here: https://codex.wordpress.org/Post_to_your_blog_using_email mentions this being deprecated and recommends using plugins instead. It seems to be the user’s own responsibility to run wp-mail.php to fetch posts from the mailbox, either via hook, calling the file manually … Read more

how does the rendering works?

Unlike many other frameworks there isn’t much “pipeline” in WordPress. You can see the fancy illustration for the load process, but basically: URL is resolved into query variables Query runs to fetch posts and determine context Template file is determined from the context Template file is included and has complete control over output from there … Read more

Why WordPress Core Functions Not Using function_exists()?

Some do, a number of core functions is specifically designated pluggable and contained in pluggable.php for exactly this purpose. It is also quite a messy approach and is often regretted it’s a thing at all. The problems are loosely: the replacement works exactly once; letting extensions mess with core definitions can lead to very volatile … Read more

What is the WP_Internal_Pointers core class?

It implements the pointers feature, a UX change that was introduced in v3.3 to help point at new features when you first encounter them You can use this yourself by enquing the wp-pointer script then using code similar to this: jQuery(document).ready( function($) { $(‘#menu-appearance’).pointer({ content: ‘<h3>Edit The Appearance</h3><p>Edit the appearance of your WordPress theme.</p>’, position: … Read more