In WordPress to get the active plugin URL we can use the following code.
<?php $plugin_url = plugin_dir_url( $file ); ?>
$plugin_url will give you the current active plugin URL.
No comments:
Post a Comment