wordpress - PHP Execution wrong order -


i hoping can point me in right direction...

i have following script in php

global $post; $url = "".get_post_meta($post->id, "syndication_permalink", true)."";  $wpws_get_content1 = wpws_get_content($url, true).'"', "#doccontent"); 

the above code not work...

       global $post;        url = "http://example.com";  $wpws_get_content1 = wpws_get_content($url, true).'"', "#doccontent"); 

if code above , manually enter url in $url works

if echo $url in top example works, dynamically use code

wpws_get_content($url, true) 

it not work....

i not sure error is, seems problem execution time in script above...

if have ideas how solve this, appreciated if can point me right direction....


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -