class-listing-update.php
<?php
namespace HivePress\Emails;
use HivePress\Helpers as hp;
defined( 'ABSPATH' ) || exit;
class Listing_Update extends Email {
public function __construct( $args = [] ) {
$args = hp\merge_arrays(
[
'subject' => hivepress()->translator->get_string( 'listing_updated' ),
'body' => hp\sanitize_html( __( 'Listing "%listing_title%" %listing_url% has been updated with the following details: %listing_attributes%.', 'hivepress' ) ),
],
$args
);
parent::__construct( $args );
}
}