How to get the current plugin name?

Within the plugin’s main PHP file:

$plugin_data = get_plugin_data( __FILE__ );
$plugin_name = $plugin_data['Name'];

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)