I tried both shortcodes and direct php to display custom fields inside the_content hook but no success
For example my custom field was Display tried both methods but didn't work even tried to execute a simple php echo but that's also not working but i can confirm html and plain text is working fine inside the hook.
[Display]
<?php
if ( get_post_meta($post->ID, 'Display', true) ) {
echo get_post_meta($post->ID, "Display", true);
}
?>
So any suggestion?