Modifying the “Read More” Text Filtering Menu Content Setting up the Customizer These are all things that are isolated to the active theme. If you change themes, your site won’t break.
thing that can be extended with hooks. A well written plugin can also expose Actions and Filters that will allow you to add, remove, or modify its functionality.
their names. These are very powerful hooks that allow you to interact with only specific objects in WordPress. save_post_{$post_type} ex: add_action ( ‘save_post_page’, ‘my_function’); would only trigger when a page is being saved, not a post.
functions that can be overridden in your plugins. They can all be found in wp-includes\pluggable.php NOTE: No new pluggable functions are being added. They are being replaced with filters, a more flexible solution.
use of these functions. For safety, wrap the function with the function_exists() check: if ( ! function_exists( ‘wp_mail’ ) ) { function wp_mail($to, $subject, $message, $headers = ‘’) { // do stuff } }