Analyze custom field
-
I want to know if there is any way to analyze a custom area (FEATURED VIDEO FIELD) other than “post_amp_content” (SINGLE CONTENT) to detect a Youtube video and return the script in the header:
“<script type=’text/javascript’ src=’https://cdn.ampproject.org/v0/amp-youtube-latest.js’ async custom-element=”amp-youtube”></script>”
Just analyze the shortcodes inside: “$ this-> get (‘post asp content’);” and I need to “scan” that part above to return the script.
ScreenShot: https://i.imgur.com/hPWN12i.png
Thanks for you help!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Analyze custom field’ is closed to new replies.