Saturday, May 21, 2016

WordPress get active plugin url

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

MS SQL : How to identify fragmentation in your indexes?

Almost all of us know what fragmentation in SQL indexes are and how it can affect the performance. For those who are new Index fragmentation...