add_filter( 'plugin_icon', array( self::class, 'icon_path' ) ); $fs->add_filter( 'plugin_title', array( self::class, 'title' ) ); } /** * Absolute path of the icon file; the SDK turns it into a URL itself. * * @return string */ public static function icon_path(): string { return AIPT_PLUGIN_DIR . self::ICON_RELATIVE_PATH; } /** * Short plugin name. * * @return string */ public static function title(): string { return self::SHORT_NAME; } }