Function to Process Shortcodes in WordPress Custom Fields

function processHTML($content) {
	$content = apply_filters('the_content', $content);
	$content = str_replace(']]>', ']]>', $content);
	echo $content;
}

Related posts:

  1. Function to Process Shortcodes in Your Theme
  2. RegEx Replacement in WordPress Content
  3. Add Custom Fields to WordPress Attachments
  4. Extra Fields in WordPress User Profiles and Registration Forms
  5. WordPress Function to Auto Convert URL Into Hyperlink

Leave a Comment

Let us know your thoughts on this post but remember to place nicely folks!