Glossary H Hooks

Hooks

Hooks are an integral part of WordPress development that deliver different bits of PHP logic to different hook locations to change, add, or remove to the pre-existing functionality.

For example, the wp_head hook is located within your site’s <head> tag and makes adding custom meta HTML tags easy. Instead of editing the entire head template, you can use a hook to insert a meta tag from any PHP file. As an example:

function md_child_custom_meta() { ?>
    <meta>Meta tag</meta>
<?php }
add_action( 'wp_head', 'md_child_custom_meta' );

More WordPress and MD Terms

Explore the full glossary for more key phrases and definitions.

F

FTP

S

Always Keep Learning

Get New Definitions, MD Releases, and Other Downloads Sent to Your Email

Join the MD newsletter to get new website tools, strategies, and other bonus downloads sent to your email in a respectful manner. If you use Marketers Delight to power your website, you do not want to miss out on these emails!

Start building your website with MD now

Get started with MD today. Pay once for use on unlimited websites.
* Save 40% on license key renewals every 12 months. Get auto-updates sent to 5 websites.

Start building smarter websites today

You can use the Marketers Delight WordPress Theme on unlimited sites.

New features & updates are delivered to sites with your active license key.

Add to Cart — $97

  • 5 sites license
  • 1 year of updates
  • Full access to downloads
  • Verified forums account
  • Save 40% on renewals