right function name

This commit is contained in:
zhaofeng-shu33 2020-03-17 14:02:17 +08:00
parent 5916532134
commit d526dd8f46

View file

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