ACF Allow Unsafe HTML

add_filter( ‘acf/shortcode/allow_unsafe_html’, function ( $allowed, $atts ) { $allowed = true; return $allowed; }, 10, 2 ); add_filter( ‘acf/the_field/allow_unsafe_html’, function( $allowed, $selector ) { $allowed = true; return $allowed; }, 10, 2 );Continue reading

Create a Smart Tag for the Current Time

/** * Create a custom Smart Tag Original doc link: https://wpforms.com/developers/how-to-create-a-smart-tag-for-the-current-time/ For support, please visit: https://www.facebook.com/groups/wpformsvip */ function wpf_dev_register_smarttag( $tags ) { // Key is the tag, item is the tag name. $tags[ ‘current_time’ ] = ‘Current Time’; return $tags;…Continue reading