replace str

This commit is contained in:
zhaofeng-shu33 2020-03-17 14:01:25 +08:00
parent e3c9236e0f
commit 5916532134

View file

@ -239,7 +239,7 @@ frameborder="0" height="850" width="800px;" scrolling="No" leftmargin="0" topmar
</iframe>
EOT;
$plugin_root_url = plugin_url();
str_replace('/wp-content/plugins', $plugin_root_url, $iframe_str);
$iframe_str = str_replace('/wp-content/plugins', $plugin_root_url, $iframe_str);
echo $iframe_str;
}
}