Skip to content

Instantly share code, notes, and snippets.

@hchouhan
Created August 30, 2018 07:15
Show Gist options
  • Save hchouhan/f8cd9e8421ab8134b4c6fb3594664a0d to your computer and use it in GitHub Desktop.
Save hchouhan/f8cd9e8421ab8134b4c6fb3594664a0d to your computer and use it in GitHub Desktop.
IRt Plugin
//$plugin = plugin_basename(__FILE__);
//echo $this->plugin_file;
//echo plugin_dir_path( $this->plugin_file );
//echo plugin_dir_path( dirname($this->plugin_file) );
echo plugin_basename($this->plugin_file);
//echo plugin_basename(dirname(__FILE__));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment