'CSV Data', 'post_type' => 'page', 'post_content' => '[aistore_csv_data]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_csv_data = wp_insert_post($my_post); update_option('aistore_csv_data', $aistore_csv_data); $my_post = array( 'post_title' => 'Transaction History', 'post_type' => 'page', 'post_content' => '[aistore_books_transaction_history] ', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_books_transaction_history = wp_insert_post($my_post); update_option('aistore_books_transaction_history', $aistore_books_transaction_history); $my_post = array( 'post_type' => 'page', 'post_title' => 'Transaction Report', 'post_content' => '[aistore_transaction_report]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_transaction_report = wp_insert_post($my_post); update_option('aistore_transaction_report', $aistore_transaction_report); $my_post = array( 'post_type' => 'page', 'post_title' => 'Expenses Report', 'post_content' => '[aistore_all_expenses_report]', 'post_status' => 'publish', 'post_author' =>$admin_id ); // Insert the post into the database $aistore_all_expenses_report = wp_insert_post($my_post); update_option('aistore_all_expenses_report', $aistore_all_expenses_report); $my_post = array( 'post_type' => 'page', 'post_title' => 'Sales Report', 'post_content' => '[aistore_all_sales_report]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_all_sales_report = wp_insert_post($my_post); update_option('aistore_all_sales_report', $aistore_all_sales_report); $my_post = array( 'post_type' => 'page', 'post_title' => 'Add Account', 'post_content' => '[aistore_add_account]', 'post_status' => 'publish', 'post_author' =>$admin_id ); // Insert the post into the database $aistore_add_account = wp_insert_post($my_post); update_option('aistore_add_account', $aistore_add_account); $my_post = array( 'post_type' => 'page', 'post_title' => 'Add Subaccount', 'post_content' => '[aistore_add_subaccount]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_add_subaccount = wp_insert_post($my_post); update_option('aistore_add_subaccount', $aistore_add_subaccount); $my_post = array( 'post_type' => 'page', 'post_title' => 'Add Bank', 'post_content' => '[aistore_add_bank]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_add_bank = wp_insert_post($my_post); update_option('aistore_add_bank', $aistore_add_bank); $my_post = array( 'post_type' => 'page', 'post_title' => 'Bank List', 'post_content' => '[aistore_list_bank]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_list_bank = wp_insert_post($my_post); update_option('aistore_list_bank', $aistore_list_bank); $my_post = array( 'post_type' => 'page', 'post_title' => 'Classified Transaction', 'post_content' => '[aistore_update_transaction]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_update_transaction = wp_insert_post($my_post); update_option('aistore_update_transaction', $aistore_update_transaction); $my_post = array( 'post_type' => 'page', 'post_title' => 'Add Vendor', 'post_content' => '[aistore_add_vendor]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_add_vendor = wp_insert_post($my_post); update_option('aistore_add_vendor', $aistore_add_vendor); $my_post = array( 'post_type' => 'page', 'post_title' => ' Vendor List', 'post_content' => '[aistore_list_vendor]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_list_vendor = wp_insert_post($my_post); update_option('aistore_list_vendor', $aistore_list_vendor); $my_post = array( 'post_type' => 'page', 'post_title' => 'Edit Vendor', 'post_content' => '[aistore_edit_vendor]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_edit_vendor = wp_insert_post($my_post); update_option('aistore_edit_vendor', $aistore_edit_vendor); $my_post = array( 'post_type' => 'page', 'post_title' => 'Vendor Transaction', 'post_content' => '[aistore_transaction_by_vendor]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_transaction_by_vendor = wp_insert_post($my_post); update_option('aistore_transaction_by_vendor', $aistore_transaction_by_vendor); $my_post = array( 'post_type' => 'page', 'post_title' => 'Customer Transaction', 'post_content' => '[aistore_transaction_by_customer]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_transaction_by_customer = wp_insert_post($my_post); update_option('aistore_transaction_by_customer', $aistore_transaction_by_customer); // ... $my_post = array( 'post_type' => 'page', 'post_title' => 'Invoice Details', 'post_content' => '[aistore_invoice_details]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_invoice_details = wp_insert_post($my_post); update_option('aistore_invoice_details', $aistore_invoice_details); $my_post = array( 'post_type' => 'page', 'post_title' => 'Invoice List', 'post_content' => '[aistore_list_invoice]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_list_invoice = wp_insert_post($my_post); update_option('aistore_list_invoice', $aistore_list_invoice); $my_post = array( 'post_type' => 'page', 'post_title' => 'Add Invoice', 'post_content' => '[aistore_add_invoice]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_add_invoice = wp_insert_post($my_post); update_option('aistore_add_invoice', $aistore_add_invoice); $my_post = array( 'post_type' => 'page', 'post_title' => 'Add Product', 'post_content' => '[aistore_add_product]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_add_product = wp_insert_post($my_post); update_option('aistore_add_product', $aistore_add_product); $my_post = array( 'post_type' => 'page', 'post_title' => 'Add Customer', 'post_content' => '[aistore_add_customer]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_add_customer = wp_insert_post($my_post); update_option('aistore_add_customer', $aistore_add_customer); $my_post = array( 'post_type' => 'page', 'post_title' => ' Customer List', 'post_content' => '[aistore_list_customer]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_list_customer = wp_insert_post($my_post); update_option('aistore_list_customer', $aistore_list_customer); $my_post = array( 'post_type' => 'page', 'post_title' => 'Edit Customer', 'post_content' => '[aistore_edit_customer]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_edit_customer = wp_insert_post($my_post); update_option('aistore_edit_customer', $aistore_edit_customer); $my_post = array( 'post_type' => 'page', 'post_title' => 'Estimate Details', 'post_content' => '[aistore_estimate_details]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_estimate_details = wp_insert_post($my_post); update_option('aistore_estimate_details', $aistore_estimate_details); $my_post = array( 'post_type' => 'page', 'post_title' => 'Estimate List', 'post_content' => '[aistore_list_estimate]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_list_estimate = wp_insert_post($my_post); update_option('aistore_list_estimate', $aistore_list_estimate); $my_post = array( 'post_type' => 'page', 'post_title' => 'Add Estimate', 'post_content' => '[aistore_add_estimate]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_add_estimate = wp_insert_post($my_post); update_option('aistore_add_estimate', $aistore_add_estimate); $my_post = array( 'post_type' => 'page', 'post_title' => 'Send Invoice by Email', 'post_content' => '[aistore_email_page]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_email_page = wp_insert_post($my_post); update_option('aistore_email_page', $aistore_email_page); $my_post = array( 'post_type' => 'page', 'post_title' => 'Send Estimate by Email', 'post_content' => '[aistore_estimate_email_page]', 'post_status' => 'publish', 'post_author' => 1 ); // Insert the post into the database $aistore_estimate_email_page = wp_insert_post($my_post); update_option('aistore_estimate_email_page', $aistore_estimate_email_page); $my_post = array( 'post_type' => 'page', 'post_title' => 'Add Company', 'post_content' => '[aistore_add_company]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_add_company = wp_insert_post($my_post); update_option('aistore_add_company', $aistore_add_company); $my_post = array( 'post_type' => 'page', 'post_title' => 'Add Currency', 'post_content' => '[aistore_add_currency]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_add_currency = wp_insert_post($my_post); update_option('aistore_add_currency', $aistore_add_currency); $my_post = array( 'post_type' => 'page', 'post_title' => 'Account List', 'post_content' => '[aistore_list_account]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_list_account = wp_insert_post($my_post); update_option('aistore_list_account', $aistore_list_account); $my_post = array( 'post_type' => 'page', 'post_title' => 'Subaccount List', 'post_content' => '[aistore_list_subaccount]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_list_subaccount = wp_insert_post($my_post); update_option('aistore_list_subaccount', $aistore_list_subaccount); $my_post = array( 'post_type' => 'page', 'post_title' => 'Product List', 'post_content' => '[aistore_list_product]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_list_product = wp_insert_post($my_post); update_option('aistore_list_product', $aistore_list_product); $my_post = array( 'post_type' => 'page', 'post_title' => 'Payment Instructions', 'post_content' => '[aistore_payment_instructions]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_payment_instructions = wp_insert_post($my_post); update_option('aistore_payment_instructions', $aistore_payment_instructions); $my_post = array( 'post_type' => 'page', 'post_title' => 'Company List', 'post_content' => '[aistore_list_company]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_list_company = wp_insert_post($my_post); update_option('aistore_list_company', $aistore_list_company); $my_post = array( 'post_type' => 'page', 'post_title' => 'Edit Company', 'post_content' => '[aistore_edit_company]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_edit_company = wp_insert_post($my_post); update_option('aistore_edit_company', $aistore_edit_company); $my_post = array( 'post_type' => 'page', 'post_title' => 'Notifications', 'post_content' => '[aistore_notification_list]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_notification_list = wp_insert_post($my_post); update_option('aistore_notification_list', $aistore_notification_list); $my_post = array( 'post_type' => 'page', 'post_title' => 'Bank Transactions', 'post_content' => '[aistore_bank_transactions]', 'post_status' => 'publish', 'post_author' => $admin_id ); // Insert the post into the database $aistore_bank_transactions = wp_insert_post($my_post); update_option('aistore_bank_transactions', $aistore_bank_transactions); } else { ?>




[aistore_csv_data]

[aistore_books_transaction_history]

[aistore_update_transaction]

[aistore_transaction_report]

[aistore_all_expenses_report]

[aistore_all_sales_report]

[aistore_add_account]

[aistore_add_subaccount]

[aistore_add_bank]

[aistore_list_bank]

[aistore_add_vendor]

[aistore_list_vendor]

[aistore_edit_vendor]

[aistore_transaction_by_vendor]

[aistore_transaction_by_customer]

[aistore_add_product]

[aistore_add_invoice]

[aistore_list_invoice]

[aistore_invoice_details]

[aistore_add_customer]

[aistore_list_customer]

[aistore_edit_customer]

[aistore_add_estimate]

[aistore_list_estimate]

[aistore_estimate_details]

[aistore_email_page]

[aistore_estimate_email_page]

[aistore_add_company]

[aistore_add_currency]

[aistore_list_account]

[aistore_list_subaccount]

[aistore_list_product]

[aistore_payment_instructions]

[aistore_list_company]

[aistore_edit_company]

[aistore_notification_list]

[aistore_bank_transactions]