add_filter( 'plugin_icon', fn(): string => dirname( __DIR__ ) . '/admin/assets/img/adpresso-logo.svg' ); // Load the AdPresso style customizations for the Freemius Pricing screen. $fs->add_filter( 'pricing/css_path', fn(): string => dirname( __DIR__ ) . '/admin/css/build/freemius-pricing.css' ); // Show only annual but not calculated monthly prices on the "Pricing" page. $fs->add_filter( 'pricing/show_annual_in_monthly', '__return_false' ); // TODO: Try out the new "Connect Message" feature. $fs->add_filter( 'connect_message', fn( string $message ): string => sprintf( /* translators: %s: the plugin name, wrapped in tags. */ __( 'Hey! Please help us improve %s by allowing us to gather some anonymous usage stats. This helps us build the features you actually need.', 'adpresso' ), $fs->get_plugin_name() ) ); $fs->add_filter( 'support_url', fn(): string => 'https://wpadpresso.com/support/' ); $fs->add_filter( 'upgrade_menu_title', fn(): string => __( 'Go Pro', 'adpresso' ) );