', '' ); $actions[] = sprintf( __( '%1$sNope, maybe later%2$s', 'flexible-shipping' ), '', '' ); $actions[] = sprintf( __( '%1$sI already did%2$s', 'flexible-shipping' ), '', '' ); return $actions; } /** * Should show message * * @return bool */ public function should_show_message() { return true; } /** * Show admin notice * * @return string|void */ public function show_message() { new \FSVendor\WPDesk\Notice\PermanentDismissibleNotice( $this->get_message(), self::NOTICE_NAME, \FSVendor\WPDesk\Notice\Notice::NOTICE_TYPE_INFO, 10, array( 'class' => self::NOTICE_NAME, 'id' => self::NOTICE_NAME, ) ); } }