plugin url

This commit is contained in:
zhaofeng-shu33 2020-03-17 13:53:55 +08:00
parent f9652ed7c3
commit e3c9236e0f

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_dir();
$plugin_root_url = plugin_url();
str_replace('/wp-content/plugins', $plugin_root_url, $iframe_str);
echo $iframe_str;
}