esc_html__( 'General Section', 'adirectory' ), 'id' => '02652d5f-7374-43b5-be3d-8ad92345c11d', 'fields' => [ [ 'fieldid' => '9c206ad8-8110-495b-82f8-40ff45bb92c5', 'input_type' => 'pricing', 'label' => esc_html__( 'Pricing', 'adirectory' ), 'name' => esc_html__( 'Pricing', 'adirectory' ), 'placeholder' => esc_html__( 'Pricing placeholder', 'adirectory' ), 'is_required' => 1, ], [ 'fieldid' => '90641e6c-d62d-4e36-af4c-77ecc34193f4', 'input_type' => 'view_count', 'label' => esc_html__( 'View Count', 'adirectory' ), 'name' => esc_html__( 'View Count', 'adirectory' ), 'placeholder' => esc_html__( 'view count placeholder', 'adirectory' ), 'is_required' => 1, ], ], ], [ 'sectiontitle' => esc_html__( 'Contact Section', 'adirectory' ), 'id' => '80dc2f81-fbe6-4b55-ad6c-7a9c04e1e639', 'fields' => [ [ 'fieldid' => '607f0712-44a5-4379-92e6-598fb932c9af', 'input_type' => 'phone', 'label' => esc_html__( 'Phone', 'adirectory' ), 'name' => esc_html__( 'Phone', 'adirectory' ), 'placeholder' => esc_html__( 'Enter phone number', 'adirectory' ), 'is_required' => 1, ], [ 'fieldid' => 'e0b3572d-a708-4461-af7c-cc4386d43866', 'input_type' => 'zip', 'label' => esc_html__( 'Zip Code', 'adirectory' ), 'name' => esc_html__( 'Zip Code', 'adirectory' ), 'placeholder' => esc_html__( 'Enter zip code', 'adirectory' ), ], [ 'fieldid' => 'a66f663a-2465-4d42-a0ca-77463173fd41', 'input_type' => 'website', 'label' => esc_html__( 'Website', 'adirectory' ), 'name' => esc_html__( 'Website', 'adirectory' ), 'placeholder' => esc_html__( 'Enter website url', 'adirectory' ), ], ], ], [ 'sectiontitle' => esc_html__( 'Map and Address', 'adirectory' ), 'id' => 'ac1f4d3a-bca0-41fd-be1c-e6caf65649e7', 'fields' => [ [ 'fieldid' => 'f45b3f63-1a9e-4143-b0a1-e9c8a3009988', 'input_type' => 'address', 'label' => esc_html__( 'Address', 'adirectory' ), 'name' => esc_html__( 'Address', 'adirectory' ), 'placeholder' => esc_html__( 'Enter address', 'adirectory' ), 'is_required' => 1, ], [ 'fieldid' => '4c50f6ff-cdc4-4b29-96df-50468aee20ef', 'input_type' => 'map', 'label' => esc_html__( 'Map', 'adirectory' ), 'name' => esc_html__( 'Map', 'adirectory' ), 'placeholder' => esc_html__( 'Enter map', 'adirectory' ), 'is_required' => 1, ], ], ], [ 'sectiontitle' => esc_html__( 'Video', 'adirectory' ), 'id' => '98d51901-c1a2-4a44-b9c6-51ad84e2a494', 'fields' => [ [ 'fieldid' => '9d3c1b4e-29f0-42ed-8d2c-30cddaec8a77', 'input_type' => 'video', 'label' => esc_html__( 'Video', 'adirectory' ), 'name' => esc_html__( 'Video', 'adirectory' ), 'placeholder' => esc_html__( 'Enter video url', 'adirectory' ), ], ], ], ]; } public static function email_templates() { return [ 'admin' => [ 'new_user_reg' => [ 'subject' => 'A new user has registered', 'html_body' => '

New User Registration

A new user has just registered on your website.

Username: {user_name}

Email: {user_email}

Please review their details and take the necessary actions.

This is an automated message, please do not reply.

', ], 'new_listing_sub' => [ 'subject' => 'A new listing has been submitted', 'html_body' => '

New Listing Submitted

A new listing has been submitted on your website.

Listing Title: {listing_title}

Submitted By: {user_name}

Please review the listing for approval.

This is an automated message, please do not reply.

', ], 'new_listing_up' => [ 'subject' => 'A listing has been updated', 'html_body' => '

Listing Updated

A listing has been updated on your website.

Listing Title: {listing_title}

Updated By: {user_name}

Please review the changes.

This is an automated message, please do not reply.

', ], 'order_created' => [ 'subject' => 'A new order has been created', 'html_body' => "

New Order Created

A new order has been placed on your website.

Order ID: #{order_id}

Customer: {customer_name}

Please process the order as soon as possible.

This is an automated message, please do not reply.

", ], 'order_completed' => [ 'subject' => 'An order has been completed', 'html_body' => "

Order Completed

An order has been completed on your website.

Order ID: #{order_id}

Customer: {customer_name}

Thank you for using our service.

This is an automated message, please do not reply.

", ], 'document_submitted' => [ 'subject' => 'A new document has been submitted', 'html_body' => '

Document Submitted

A new document has been submitted for verification.

Submitted By: {user_name}

Please review the document and verify it.

This is an automated message, please do not reply.

', ], 'new_review_submitted' => [ 'subject' => 'New review submitted for your listing', 'html_body' => "

New Review Received

A new review has been submitted for your listing.

Listing Title: {listing_title}

Reviewer: {reviewer_name}

Rating: {review_rating}/5 stars

Review: {review_content}

View Listing

This is an automated message, please do not reply.

", ], 'new_reply_submitted' => [ 'subject' => 'New reply to review on your listing', 'html_body' => "

New Reply to Review

A new reply has been posted to a review on your listing.

Listing Title: {listing_title}

Original Reviewer: {original_reviewer_name}

Reply Author: {reply_author_name}

Reply: {reply_content}

View Listing

This is an automated message, please do not reply.

", ], ], 'user' => [ 'new_user_reg' => [ 'subject' => 'Welcome to the website', 'html_body' => "

Welcome, {user_name}!

Thank you for registering on our website.

Reset Your Pasword

We are excited to have you with us. You can now start exploring and make the most of our services.

If you have any questions, feel free to reach out to our support team.

This is an automated message, please do not reply.

", ], 'new_listing_sub' => [ 'subject' => 'Your listing has been submitted', 'html_body' => '

Listing Submitted Successfully

Thank you, {user_name}, for submitting your listing on our website.

Listing Title: {listing_title}

Your listing is now under review. You will be notified once it is approved.

This is an automated message, please do not reply.

', ], 'listing_is_approved' => [ 'subject' => 'Your listing has been approved', 'html_body' => "

Congratulations, {user_name}!

Your listing titled '{listing_title}' has been approved.

It is now live on our website. We hope it brings you great success.

This is an automated message, please do not reply.

", ], 'listing_about_expire' => [ 'subject' => 'Your listing is about to expire', 'html_body' => '

Listing Expiration Notice

Dear {user_name}, your listing is about to expire on {expiry_data}.

Please renew your listing to continue its visibility on our website.

This is an automated message, please do not reply.

', ], 'listing_expired' => [ 'subject' => 'Your listing has expired', 'html_body' => "

Listing Expired

Dear {user_name}, your listing titled '{listing_title}' has expired.

If you would like to renew your listing, please visit your account dashboard.

This is an automated message, please do not reply.

", ], 'order_cancelled' => [ 'subject' => 'Your Order Has Been Cancelled', 'html_body' => "

Order Cancelled

Dear {customer_name},

We would like to inform you that your order with ID #{order_id} has been cancelled.

If this was a mistake or you have any questions, please contact our support team for assistance.

This is an automated message. Please do not reply to this email.

", ], 'order_failed' => [ 'subject' => 'Your Order Could Not Be Processed', 'html_body' => "

Order Failed

Dear {customer_name},

We’re sorry, but your order with ID #{order_id} could not be processed.

This may have occurred due to a payment issue or an error during checkout.

Please try placing your order again or contact our support team for assistance.

This is an automated message. Please do not reply to this email.

", ], 'order_pending' => [ 'subject' => 'Your Order is Currently Pending', 'html_body' => "

Order Status: Pending

Dear {customer_name},

Thank you for your order. Your order with ID #{order_id} is currently pending.

We are in the process of reviewing and preparing your order. You will receive another notification once it has been completed or shipped.

This is an automated message. Please do not reply to this email.

", ], 'order_created' => [ 'subject' => 'Your order has been received', 'html_body' => "

Order Confirmation

Dear {customer_name}, your order has been received successfully.

Order ID: #{order_id}

We are processing your order and will notify you once it is completed.

This is an automated message, please do not reply.

", ], 'order_completed' => [ 'subject' => 'Your Order is Complete', 'html_body' => "

Order Completed

Dear {customer_name},

We're happy to let you know that your order has been completed successfully.

Order ID: #{order_id}

Thank you for your purchase! We hope you enjoy your product and look forward to serving you again.

This is an automated message. Please do not reply to this email.

", ], 'document_verified' => [ 'subject' => 'Your document has been verified', 'html_body' => '

Document Verification Successful

Dear {user_name}, your submitted document has been successfully verified.

You can now proceed with your listings and other activities on our website.

This is an automated message, please do not reply.

', ], 'document_rejected' => [ 'subject' => 'Your document has been rejected', 'html_body' => '

Document Verification Failed

Dear {user_name}, unfortunately, your submitted document has been rejected.

Please review the reasons for rejection and resubmit your document.

This is an automated message, please do not reply.

', ], 'new_review_submitted' => [ 'subject' => 'New review submitted for your listing', 'html_body' => "

New Review Received

A new review has been submitted for your listing.

Listing Title: {listing_title}

Reviewer: {reviewer_name}

Rating: {review_rating}/5 stars

Review: {review_content}

View Listing

This is an automated message, please do not reply.

", ], 'new_reply_submitted' => [ 'subject' => 'New reply to review on your listing', 'html_body' => "

New Reply to Review

A new reply has been posted to a review on your listing.

Listing Title: {listing_title}

Original Reviewer: {original_reviewer_name}

Reply Author: {reply_author_name}

Reply: {reply_content}

View Listing

This is an automated message, please do not reply.

", ], ], ]; } public static function onborading_pages() { return [ [ 'post_title' => esc_html__( 'All Listings', 'adirectory' ), 'post_content' => '[adqs_listings]', 'post_status' => 'publish', 'post_type' => 'page', 'page_key' => 'adqs_all_listing', ], [ 'post_title' => esc_html__( 'All Location', 'adirectory' ), 'post_content' => '[adqs_taxonomies tax_type="locations"]', 'post_status' => 'publish', 'post_type' => 'page', 'page_key' => 'adqs_all_locations', ], [ 'post_title' => esc_html__( 'All Categories', 'adirectory' ), 'post_content' => '[adqs_taxonomies tax_type="categories"]', 'post_status' => 'publish', 'post_type' => 'page', 'page_key' => 'adqs_all_categories', ], [ 'post_title' => esc_html__( 'Add Listing', 'adirectory' ), 'post_content' => '[adqs_add_listing]', 'post_status' => 'publish', 'post_type' => 'page', 'page_key' => 'adqs_add_listing', ], [ 'post_title' => esc_html__( 'User Dashboard', 'adirectory' ), 'post_content' => '[adqs_dashboard]', 'post_status' => 'publish', 'post_type' => 'page', 'page_key' => 'adqs_user_dashboard', ], [ 'post_title' => esc_html__( 'Login - Registration', 'adirectory' ), 'post_content' => '[adqs_user_log_regi]', 'post_status' => 'publish', 'post_type' => 'page', 'page_key' => 'adqs_login_regi', ], [ 'post_title' => esc_html__( 'All Agents', 'adirectory' ), 'post_content' => '[adqs_agents]', 'post_status' => 'publish', 'post_type' => 'page', 'page_key' => 'adqs_agents', ], ]; } }