wordpress

WordPress redirection is useful in some situations. For example, wordpress redirects to the dashboard after login, and the WordPress logout redirect occurs when the use logs out, which takes the […]

If you  visit a wordpress page such as http://myprogrammingnotes.com/sample-page, we know that after wordpress gets the content of the page from the database table wp-posts, it will load a page […]

The content of the posts you compose will go through a series of filtering functions  before it is presented to the client. The filter tag is “the_content”. One of the […]

When you activate a new wordpress theme in the dashboard of appearance/themes, switch_theme is called with the to-be-switched theme as the parameter. switch_theme saves the $$sidebars_widgets in the theme_mod-currenttheme option, […]

Ajax is used by wordpress for communication between browser and server. For example, after you login wordpress dashboard, drag a widget onto a sidebar, fill some settings and click the […]

A function in cron.php wp_cron() is hooked to init action to check crons(got from the ‘cron’  option in the wp_options table). if it sees there is a cron that should […]