diff --git a/src/Enhancements/Meta.php b/src/Enhancements/Meta.php index 198d1e7..40fe44e 100644 --- a/src/Enhancements/Meta.php +++ b/src/Enhancements/Meta.php @@ -16,15 +16,6 @@ */ class Meta { - /** - * The plugin basename. - * - * @since 1.0.0 - * - * @var string - */ - private $plugin_basename; - /** * Setup hooks and filters. * @@ -83,11 +74,12 @@ public function meta_links( $links, $file ) { * * @since 1.0.0 * - * @param array $links Plugin table/item action links. + * @param array $links Plugin table/item action links. + * @param string $file Path to the plugin file relative to the plugins' directory. * * @return array */ - public function action_links( $links ) { + public function action_links( $links, $file ) { // Leave early if the filter is not for this plugin. if ( ! $this->is_this_plugin( $file ) ) {