Complex expressions

Here is the list of the most complex expressions used in the code. A complex expression is an expression that requires more than 20 tokens to be build.

Literal arrays are omitted.

File Count Expression
/edwiser-bridge/includes/emails/class-eb-emailer.php:3421apply_filters('eb_filter_email_parameters', array('eb_order_id' => $order_id'course_id' => $order_detail['course_id'], 'user_email' => $buyer_detail->user_email'username' => $buyer_detail->user_login'first_name' => isset($buyer_detail->first_name) ? $buyer_detail->first_name '''last_name' => isset($buyer_detail->last_name) ? $buyer_detail->last_name '',  ), $this->template_name)
/edwiser-bridge/admin/class-eb-admin.php:1541wp_localize_script($this->plugin_name'eb_admin_js_object', array('unsaved_warning' => esc_html__('Please save the changes.''eb-textdomain'), 'plugin_url' => EB_PLUGIN_URL'ajaxurl' => admin_url('admin-ajax.php'), 'nonce' => $sync_nonce'admin_nonce' => $admin_nonce'msg_con_success' => esc_html__('Connection successful, Please save your connection details.''eb-textdomain'), 'msg_courses_sync_success' => esc_html__('Courses synchronized successfully.''eb-textdomain'), 'msg_con_prob' => esc_html__('There is a problem while connecting to moodle server.''eb-textdomain'), 'msg_err_users' => esc_html__('Error occured for following users: ''eb-textdomain'), 'msg_user_sync_success' => esc_html__('User\'s course enrollment status synced successfully.''eb-textdomain'), 'msg_unlink_users_list' => $msg_unlink_user'msg_user_link_to_moodle_success' => esc_html__('User\'s linked to moodle successfully.''eb-textdomain'), 'msg_mail_delivery_fail' => esc_html__('Mail delivery failed.''eb-textdomain'), 'msg_test_mail_sent_to' => esc_html__('Test mail sent to ''eb-textdomain'), 'msg_err_parsing_res' => esc_html__('An error occurred during parsing the response''eb-textdomain'), 'msg_cat_sync_success' => esc_html__('Categories synchronized successfully.''eb-textdomain'), 'msg_tpl_not_found' => esc_html__('Template not found''eb-textdomain'), 'msg_link_user' => esc_html__('Linked ''eb-textdomain'), 'msg_unlink_user' => esc_html__('Unlinked ''eb-textdomain'), 'msg_error_unlink_user' => '<div>' esc_html__('Sorry, unable to link user''eb-textdomain') . '<ol><li>' esc_html__('Check if first name and last name of the user is empty.''eb-textdomain') . '</li><li>' esc_html__('Please test Moodle connection.''eb-textdomain') . '</li></ol>' esc_html__('To know more about this error please''eb-textdomain') . "<a target='_blank' href='https://edwiser.helpscoutdocs.com/collection/85-edwiser-bridge-plugin'>" esc_html__(' click here''eb-textdomain') . '</a></div>''msg_error_link_user' => '<div>' esc_html__('Sorry, unable to link user''eb-textdomain') . '<ol><li>' esc_html__('Check if first name and last name of the user is empty.''eb-textdomain') . ' </li><li>' esc_html__('Please test Moodle connection.''eb-textdomain') . '</li></ol>' esc_html__('To know more about this error please ''eb-textdomain') . "<a target='_blank' href='https://edwiser.helpscoutdocs.com/collection/85-edwiser-bridge-plugin'>" esc_html__(' click here''eb-textdomain') . '</a></div>''msg_error_moodle_link' => esc_html__('Sorry, unable to link to the moodle''eb-textdomain'), 'msg_confirm_refund' => esc_html__('Do you want to refund for the order id: #''eb-textdomain'), 'eb_order_refund_nonce' => wp_create_nonce('eb_order_refund_nons_field'), 'msg_refund_failed' => esc_html__('Failed to refund the order''eb-textdomain'), 'edwiser_terms_title' => esc_html__('Edwiser Terms and Conditions''eb-textdomain'), 'edwiser_terms_content' => esc_html__('Edwiser extensions licensing system used to provide the latest stable code of the product as well as to check the renewals for this license at our end. For this purpose, we acquire the details like <b> " Site Name, IP Address " </b>and once the license gets deactivated or expires we won\'t get this information from your site. We need this information for giving you a seamless experience of selling Moodle courses through WordPress. Do hit the <b> "Agree" </b> button if you are ready to share these details with us. ''eb-textdomain'),  ))
/edwiser-bridge/includes/class-eb-manage-enrollment.php:2331if(isset($_POST['user_id']) && isset($_POST['course_id']) && isset($_POST['action']) && 'wdm_eb_user_manage_unenroll_unenroll_user' === $_POST['action'] && isset($_POST['admin_nonce']) && wp_verify_nonce(sanitize_text_field(wp_unslash($_POST['admin_nonce'])), 'eb_admin_nonce')) { /**/ } else { /**/ }
/edwiser-bridge/admin/class-eb-email-template.php:6901if(isset($_POST['action']) && isset($_POST['tmpl_name']) && 'wdm_eb_email_tmpl_restore_content' === $_POST['action'] && isset($_POST['admin_nonce']) && wp_verify_nonce(sanitize_text_field(wp_unslash($_POST['admin_nonce'])), 'eb_admin_nonce')) { /**/ } else { /**/ }
/edwiser-bridge/includes/class-eb-order-status.php:581$refund_data = array('amt' => isset($_POST['eb_ord_refund_amt']) ? sanitize_text_field(wp_unslash($_POST['eb_ord_refund_amt'])) : '''note' => isset($_POST['eb_order_refund_note']) ? sanitize_text_field(wp_unslash($_POST['eb_order_refund_note'])) : '''unenroll_users' => isset($_POST['eb_order_meta_unenroll_user']) ? sanitize_text_field(wp_unslash($_POST['eb_order_meta_unenroll_user'])) : 'NO',  )
/edwiser-bridge/includes/class-eb-usage-tracking.php:731$analytics_data = array('siteurl' => $this->detect_site_type( ) . preg_replace('#^https?://#'''rtrim(get_site_url( ), '/')), 'product_name' => 'Edwiser Bridge''product_settings' => $this->get_plugin_settings('edwiser_bridge'), 'active_theme' => get_option('stylesheet'), 'total_courses' => $this->eb_get_course_count( ), 'total_categories' => $this->eb_get_cat_count( ), 'total_users' => $this->eb_get_user_count( ), 'installed_plugins' => $this->get_user_installed_plugins( ), 'system_version' => $wp_version'system_lang' => get_locale( ), 'system_settings' => array('multiste' => is_multisite( ) ? 0,  ), 'server_ip' => $server_ip'web_server' => (isset($_SERVER['SERVER_SOFTWARE']) && null !== $_SERVER['SERVER_SOFTWARE']) ? sanitize_text_field(wp_unslash($_SERVER['SERVER_SOFTWARE'])) : '''php_version' => phpversion( ), 'php_settings' => array('memory_limit' => ini_get('memory_limit'), 'max_execution_time' => ini_get('max_execution_time'), 'post_max_size' => ini_get('post_max_size'), 'upload_max_filesize' => ini_get('upload_max_filesize'), 'memory_limit' => ini_get('memory_limit'),  ),  )
/edwiser-bridge/includes/emails/class-eb-emailer.php:3421$args apply_filters('eb_filter_email_parameters', array('eb_order_id' => $order_id'course_id' => $order_detail['course_id'], 'user_email' => $buyer_detail->user_email'username' => $buyer_detail->user_login'first_name' => isset($buyer_detail->first_name) ? $buyer_detail->first_name '''last_name' => isset($buyer_detail->last_name) ? $buyer_detail->last_name '',  ), $this->template_name)
/edwiser-bridge/includes/payments/enhanced-paypal-shortcodes.php:3121$atts shortcode_atts(array('type' => '''textalign' => '''divwidth' => '''float' => '''marginleft' => '''marginright' => '''margintop' => '''marginbottom' => '''sandbox' => '''qty' => '1''shipping' => '''shipping2' => '''imageurl' => '''imagewidth' => '100px''noshipping' => '1''nonote' => '1''rm' => '2''lc' => '''cbt' => esc_html__('Complete Your Purchase''eb-textdomain'), 'cn' => '''pagestyle' => 'paypal''notifyurl' => '''notifyurl2' => '''returnurl' => '''cancelurl' => '''scriptcode' => 'scriptcode''email' => '''currencycode' => '''itemno' => '''name' => '''amount' => '''cancelreturn' => '''a1' => '''p1' => '''t1' => '''a2' => '''p2' => '''t2' => '''a3' => '''p3' => '''t3' => '''src' => 1'srt' => 0'sra' => 1'modify' => '''custom' => '',  ), $atts)
/edwiser-bridge/includes/payments/class-eb-payment-manager.php:2921$paypal_button wptexturize(do_shortcode("[paypal type='paynow'
                            amount='
{$course_price}'
                            sandbox='
{$paypal_sandbox}'
                            email='
{$paypal_email}'
                            itemno='
{$course->ID}'
                            name='
{$course->post_title}'
                            noshipping='1' nonote='1'
                            qty='1' currencycode='
{$paypal_currency}'
                            rm='2' notifyurl='
{$paypal_notifyurl}'
                            returnurl='
{$paypal_returnurl}'
                            scriptcode='scriptcode' imagewidth='100px'
                            pagestyle='paypal' lc='
{$paypal_country}'
                            cbt='" 
esc_html__('Complete Your Purchase''eb-textdomain') . "' custom='" $user_id "']"))
/edwiser-bridge/includes/payments/eb-ipn.php:2611$args = array('eb_order_id' => $custom_data->order_id'buyer_id' => $custom_data->buyer_id'refunded_cur' => empty($post_mc_currency) ? 'USD' $post_mc_currency'refund_amount' => abs(empty($post_mc_gross) ? '0.00' $post_mc_gross), 'refunded_status' => empty($post_payment_status) ? 'Unknown' $post_payment_status,  )
/edwiser-bridge/admin/partials/html-admin-settings-right-section.php:101$extensions_details apply_filters('eb_setting_help_data', array('woo-int' => array('name' => 'Woocommerce Integration''path' => 'woocommerce-integration/bridge-woocommerce.php''doc' => 'https://edwiser.org/documentation/edwiser-bridge-woocommerce-integration/''rating' => 'https://edwiser.org/bridge/extensions/woocommerce-integration/documentation/',  ), 'sso' => array('name' => 'Single Sign On''path' => 'edwiser-bridge-sso/sso.php''doc' => 'https://edwiser.org/documentation/single-sign-on/''rating' => 'https://edwiser.org/bridge/extensions/woocommerce-integration/documentation/',  ), 'bulk-purchase' => array('name' => 'Bulk Purchase''path' => 'edwiser-multiple-users-course-purchase/edwiser-multiple-users-course-purchase.php''doc' => 'https://edwiser.org/documentation/bulk-purchase/''rating' => 'https://edwiser.org/bridge/extensions/woocommerce-integration/documentation/',  ), 'selective-synch' => array('name' => 'Selective Synchronization''path' => 'selective-synchronization/selective-synchronization.php''doc' => 'https://edwiser.org/documentation/selective-synchronization/''rating' => 'https://edwiser.org/bridge/extensions/woocommerce-integration/documentation/',  ),  ))
/edwiser-bridge/admin/class-eb-admin-settings.php:6351$args = array('name' => $value['id'], 'id' => $value['id'], 'sort_column' => 'menu_order''sort_order' => 'ASC''show_option_none' => ' ''class' => $value['class'], 'echo' => false'selected' => $selected_val,  )
/edwiser-bridge/admin/class-eb-admin-settings.php:5971$args = array('name' => $value['id'], 'id' => $value['id'], 'sort_column' => 'menu_order''sort_order' => 'ASC''show_option_none' => ' ''class' => $value['class'], 'echo' => false'selected' => self::get_option($value['id'], $current_tab),  )
/edwiser-bridge/admin/class-eb-admin-settings.php:5661$args = array('name' => $value['id'], 'id' => $value['id'], 'sort_column' => 'menu_order''sort_order' => 'ASC''show_option_none' => ' ''class' => $value['class'], 'echo' => false'selected' => absint(self::get_option($value['id'], $current_tab)),  )
/edwiser-bridge/includes/class-eb-custom-list-table.php:471$this->bp_columns apply_filters('edwiser_add_colomn_to_manage_enrollment', array('cb' => '<input type="checkbox" />''rId' => esc_html_x('Record ID''Column label''eb-textdomain'), 'user' => esc_html__('User''eb-textdomain'), 'course' => esc_html__('Course''eb-textdomain'), 'enrolled_date' => esc_html__('Enrolled Date''eb-textdomain'), 'manage' => esc_html__('Manage''eb-textdomain'),  ))
/edwiser-bridge/includes/class-eb-activator.php:2321$pages apply_filters('eb_create_default_pages', array('thankyou' => array('name' => esc_html_x('thank-you-for-purchase''Page slug''eb-textdomain'), 'title' => esc_html_x('Thank You for Purchase''Page title''eb-textdomain'), 'content' => esc_html__('Thanks for purchasing the course, your order will be processed shortly.''eb-textdomain'), 'option_key' => '',  ), 'useraccount' => array('name' => esc_html_x('user-account''Page slug''eb-textdomain'), 'title' => esc_html_x('User Account''Page title''eb-textdomain'), 'content' => '[' apply_filters('eb_user_account_shortcode_tag''eb_user_account') . ']''option_key' => 'eb_useraccount_page_id',  ), 'mycourses' => array('name' => esc_html_x('eb-my-courses''Page slug''eb-textdomain'), 'title' => esc_html_x('My Courses''Page title''eb-textdomain'), 'content' => $page_content['eb_my_courses'], 'option_key' => 'eb_my_courses_page_id',  ), 'courses' => array('name' => esc_html_x('eb-courses''Page slug''eb-textdomain'), 'title' => esc_html_x('Courses''Page title''eb-textdomain'), 'content' => $page_content['eb_courses'], 'option_key' => '',  ),  ))
/edwiser-bridge/includes/eb-core-functions.php:2481$shortcodes = array('eb_my_courses' => array('user_id' => '''my_courses_wrapper_title' => __('My Courses''eb-textdomain'), 'recommended_courses_wrapper_title' => __('Recommended Courses''eb-textdomain'), 'number_of_recommended_courses' => 4'my_courses_progress' => 1,  ), 'eb_course' => array('id' => '',  ), 'eb_courses' => array('categories' => '''order' => 'DESC''per_page' => 12'cat_per_page' => 3'group_by_cat' => 'yes''horizontally_scroll' => 'yes',  ),  )
/edwiser-bridge/includes/class-eb-enrollment-manager.php:2461$args = array('user_id' => $args['user_id'], 'role_id' => $args['role_id'], 'courses' => $args['courses'], 'unenroll' => $args['unenroll'], 'suspend' => $args['suspend'], 'complete_unenroll' => $args['complete_unenroll'],  )
/edwiser-bridge/includes/payments/class-eb-refund-manager.php:1281$data = array('VERSION' => '84.0''SIGNATURE' => $api_details['sign'], 'USER' => $api_details['username'], 'PWD' => $api_details['password'], 'METHOD' => 'RefundTransaction''TRANSACTIONID' => $txn_id'NOTE' => $reason'REFUNDTYPE' => $refund_type,  )
/edwiser-bridge/includes/class-eb-post-types.php:6851$messages[$post_type] = array(=> ''=> sprintf('%s'esc_attr($singular)) . __(' updated.''eb-textdomain') . '<a href="' sprintf('%s" target="_blank">'esc_url(get_permalink($post_ID))) . __(' View ''eb-textdomain') . sprintf('%s</a>'strtolower($singular)), => __('Custom field updated.''eb-textdomain'), => __('Custom field deleted.''eb-textdomain'), => sprintf('%s 'esc_attr($singular)) . __('updated.''eb-textdomain'), => isset($_GET['revision']) ? sprintf('%s 'wp_post_revision_title((int) $_GET['revision'], false)) . __('restored to revision from ''eb-textdomain') . sprintf('%s 'esc_attr($singular)) : false=> sprintf('%1$s published. <a href="%2$s">View %3$s</a>'$singularesc_url(get_permalink($post_ID)), strtolower($singular)), => sprintf('%s 'esc_attr($singular)) . __('saved.''eb-textdomain'), => sprintf('%1$s submitted. <a href="%2$s" target="_blank">Preview %3$s</a>'$singularesc_url(add_query_arg('preview''true'get_permalink($post_ID))), strtolower($singular)), => sprintf('%1$s' __('scheduled for: <strong> ''eb-textdomain') . '%2$s' __('</strong>. <a href="''eb-textdomain') . '%3$s' __('" target="_blank">Preview ''eb-textdomain') . '%4$s</a>'$singulardate_i18n(__('M j, Y @ G:i'), strtotime($post->post_date)), esc_url(get_permalink($post_ID)), strtolower($singular)), 10 => sprintf('%1$s' __(' draft updated. <a href="''eb-textdomain') . '%2$s' __('" target="_blank">Preview ''eb-textdomain') . '%3$s </a>'$singularesc_url(add_query_arg('preview''true'get_permalink($post_ID))), strtolower($singular)),  )
/edwiser-bridge/includes/class-eb-post-types.php:2971$args_array = array('eb_course' => array('moodle_course_id' => array('label' => __('Moodle Course ID''eb-textdomain'), 'description' => '''type' => 'text''placeholder' => '''attr' => 'text''default' => '0''note' => isset($deletion_status) && !empty($deletion_status) ? '<span style="color:red;">' __('This course is deleted on Moodle''eb-textdomain') . '</span>' '',  ), 'course_price_type' => array('label' => __('Course Price Type''eb-textdomain'), 'description' => __('Is it free to join or one time purchase?''eb-textdomain'), 'type' => 'select''options' => array('free' => __('Free''eb-textdomain'), 'paid' => __('Paid''eb-textdomain'), 'closed' => __('Closed''eb-textdomain'),  ), 'default' => array('free'),  ), 'course_price' => array('label' => __('Course Price''eb-textdomain'), 'description' => __('Course price in currency as defined in settings.''eb-textdomain'), 'type' => 'text''placeholder' => __('Enter course price''eb-textdomain'), 'default' => '',  ), 'course_closed_url' => array('label' => __('Optional URL''eb-textdomain'), 'description' => __('Optional url to redirect user on click of take this course button.''eb-textdomain'), 'type' => 'text''placeholder' => __('Optional URL''eb-textdomain'), 'default' => '',  ), 'course_expirey' => array('label' => __('Expire Access''eb-textdomain'), 'description' => __('Leave this field unchecked if access never expires.''eb-textdomain'), 'default' => 'no''type' => 'checkbox''autoload' => false,  ), 'course_expiry_action' => array('label' => __('On Course Expiration''eb-textdomain'), 'description' => __('Select an action to perform on course access expiration.''eb-textdomain'), 'type' => 'select''options' => array('unenroll' => __('Unenroll''eb-textdomain'), 'suspend' => __('Suspend''eb-textdomain'), 'do-nothing' => __('Do nothing''eb-textdomain'),  ), 'default' => array('unenroll'),  ), 'num_days_course_access' => array('label' => __('Expire Access After (days)''eb-textdomain'), 'description' => __('Number of days the course is accessible''eb-textdomain'), 'type' => 'text''default' => '',  ), 'course_short_description' => array('label' => __('Short Description''eb-textdomain'), 'description' => __('Short description of course.''eb-textdomain'), 'type' => 'textarea''placeholder' => '''default' => '',  ),  ), 'eb_recommended_course_options' => array('enable_recmnd_courses' => array('label' => __('Show Recommended Courses''eb-textdomain'), 'description' => __('Show recommended courses on single course page.''eb-textdomain'), 'default' => 'no''type' => 'checkbox''autoload' => false,  ), 'show_default_recmnd_course' => array('label' => __('Show Category Wise Recommended Courses''eb-textdomain'), 'description' => __('Show category wise selected recommended courses on single course page.''eb-textdomain'), 'default' => 'no''type' => 'checkbox''autoload' => false,  ), 'enable_recmnd_courses_single_course' => array('label' => __('Select Courses''eb-textdomain'), 'description' => __('Select courses to show in custom courses in recommended course section.''eb-textdomain'), 'type' => 'select_multi''options' => isset($post->ID) ? get_all_eb_sourses($post->ID) : array( ), 'default' => array('pending'),  ),  ), 'eb_order' => array('order_status' => array('label' => __('Order Status''eb-textdomain'), 'description' => __('Status of Order''eb-textdomain'), 'type' => 'select''options' => array('pending' => __('Pending''eb-textdomain'), 'completed' => __('Completed''eb-textdomain'), 'failed' => __('Failed''eb-textdomain'), 'refunded' => __('Refunded''eb-textdomain'),  ), 'default' => array('pending'),  ),  ),  )
/edwiser-bridge/includes/class-eb-gdpr-compatibility.php:2591$content .= '<p>
                            ' 
esc_html__('We collect user information whenever you submit a checkout form on woocommerce store. When you submit woocommerce checkout form, we will use following information to create the user account on the Moodle site:''eb-textdomain') . '

                            <ul>
                                <li>' 
esc_html__('First Name''eb-textdomain') . '</li>
                                <li>' 
esc_html__('Last Name''eb-textdomain') . '</li>
                                <li>' 
esc_html__('Email''eb-textdomain') . '</li>
                                <li>' 
esc_html__('Username", "eb-textdomain') . '</li>
                                <li>' 
esc_html__('Password''eb-textdomain') . '</li>
                            </ul>
                        </p>
                        <p>
                            ' 
esc_html__('The collected information will be used to:''eb-textdomain') . '
                            <ul>
                                ' 
esc_html__('Enroll user in the specified course.''eb-textdomain') . '
                            </ul>
                        </p>'
/edwiser-bridge/public/shortcodes/class-eb-shortcode-user-account.php:3392$args = array('ID' => $user->ID'user_email' => $posted_data['email'], 'first_name' => $posted_data['first_name'], 'last_name' => $posted_data['last_name'], 'nickname' => $posted_data['nickname'], 'description' => $posted_data['description'],  )
/edwiser-bridge/public/shortcodes/class-eb-shortcode-user-profile.php:2592$user_data = array('id' => (int) $mdl_uid'email' => $posted_data['email'], 'firstname' => $posted_data['first_name'], 'lastname' => $posted_data['last_name'], 'alternatename' => $posted_data['nickname'], 'auth' => 'manual''city' => $posted_data['city'], 'country' => $posted_data['country'] ? $posted_data['country'] : '''description' => $posted_data['description'],  )
/edwiser-bridge/public/shortcodes/class-eb-shortcode-user-profile.php:2992$args = array('ID' => $user->ID'user_email' => $posted_data['email'], 'first_name' => $posted_data['first_name'], 'last_name' => $posted_data['last_name'], 'nickname' => $posted_data['nickname'], 'description' => $posted_data['description'],  )
/edwiser-bridge/admin/settings/class-eb-settings-paypal.php:711$settings apply_filters('eb_paypal_settings', array(array('title' => __('PayPal Settings''eb-textdomain'), 'type' => 'title''id' => 'paypal_options',  ), array('title' => __('PayPal Email''eb-textdomain'), 'desc' => __('Enter your PayPal email here.''eb-textdomain'), 'id' => 'eb_paypal_email''css' => 'min-width:350px;''default' => '''type' => 'email''desc_tip' => true'custom_attributes' => array('required' => 'required'),  ), array('title' => __('PayPal Currency''eb-textdomain'), 'desc' => __('Select transaction currency code, Default is USD.''eb-textdomain'), 'id' => 'eb_paypal_currency''css' => 'min-width:350px;''default' => '''type' => 'select''desc_tip' => true'options' => array('USD' => __('U.S. Dollar (USD)''eb-textdomain'), 'CAD' => __('Canadian Dollar (CAD)''eb-textdomain'), 'NZD' => __('New Zealand Dollar (NZD)''eb-textdomain'), 'HKD' => __('Hong Kong Dollar (HKD)''eb-textdomain'), 'EUR' => __('Euro (EUR)''eb-textdomain'), 'JPY' => __('Japanese Yen (JPY)''eb-textdomain'), 'MXN' => __('Mexican Peso (MXN)''eb-textdomain'), 'CHF' => __('Swiss Franc (CHF)''eb-textdomain'), 'GBP' => __('Pound Sterling (GBP)''eb-textdomain'), 'AUD' => __('Australian Dollar (AUD)''eb-textdomain'), 'PLN' => __('Polish Zloty (PLN)''eb-textdomain'), 'DKK' => __('Danish Krone (DKK)''eb-textdomain'), 'SGD' => __('Singapore Dollar (SGD)''eb-textdomain'),  ),  ), array('title' => __('PayPal Country''eb-textdomain'), 'desc' => __('Enter your country code here.''eb-textdomain'), 'id' => 'eb_paypal_country_code''css' => 'min-width:350px;''default' => 'US''type' => 'text''desc_tip' => true'custom_attributes' => array('required' => 'required'),  ), array('title' => __('PayPal Cancel URL''eb-textdomain'), 'desc' => __('Enter the URL used for purchase cancellations.''eb-textdomain'), 'id' => 'eb_paypal_cancel_url''css' => 'min-width:350px;''default' => site_url( ), 'type' => 'url''desc_tip' => true'custom_attributes' => array('required' => 'required'),  ), array('title' => __('PayPal Return URL''eb-textdomain'), 'desc' => __('Enter the URL used for completed purchases (a thank you page).''eb-textdomain'), 'id' => 'eb_paypal_return_url''css' => 'min-width:350px;''default' => site_url('/thank-you-for-purchase/ '), 'type' => 'url''desc_tip' => true'custom_attributes' => array('required' => 'required'),  ), array('title' => __('PayPal Notify URL''eb-textdomain'), 'desc' => __('Enter the URL used for IPN notifications.''eb-textdomain'), 'id' => 'eb_paypal_notify_url''css' => 'min-width:350px;''default' => site_url('/eb/paypal-notify'), 'type' => 'url''desc_tip' => true'custom_attributes' => array('readonly' => 'readonly'),  ), array('title' => __('Use PayPal Sandbox''eb-textdomain'), 'desc' => __('Check to enable the PayPal sandbox.''eb-textdomain'), 'id' => 'eb_paypal_sandbox''default' => 'no''type' => 'checkbox''show_if_checked' => 'option''autoload' => false,  ), array('type' => 'sectionend''id' => 'paypal_options',  ), array('title' => __('PayPal API Credentials (Optional)''eb-textdomain'), 'type' => 'title''id' => 'paypal_api_options''desc' => __('To use order refunds following fields are mandatory.''eb-textdomain'),  ), array('title' => __('API username''eb-textdomain'), 'id' => 'eb_api_username''css' => 'min-width:350px;''default' => '''type' => 'text''autoload' => false,  ), array('title' => __('API password''eb-textdomain'), 'id' => 'eb_api_password''css' => 'min-width:350px;''default' => '''type' => 'password''autoload' => false,  ), array('title' => __('API signature''eb-textdomain'), 'id' => 'eb_api_signature''css' => 'min-width:350px;''default' => '''type' => 'text''autoload' => false,  ), array('type' => 'sectionend''id' => 'paypal_api_options',  ),  ))
/edwiser-bridge/admin/settings/class-eb-settings-synchronization.php:991$settings apply_filters('eb_user_synchronization_settings', array(array('title' => __('Synchronize User Data''eb-textdomain'), 'type' => 'title''id' => 'user_synchronization_options',  ), array('title' => __('Synchronization Options''eb-textdomain'), 'desc' => __('Update user\'s course enrollment status''eb-textdomain'), 'id' => 'eb_synchronize_user_courses''default' => 'no''type' => 'checkbox''checkboxgroup' => 'start''show_if_checked' => 'option''autoload' => false,  ), array('desc' => __('Link user\'s account to moodle''eb-textdomain'), 'id' => 'eb_link_users_to_moodle''default' => 'no''type' => 'checkbox''checkboxgroup' => '''show_if_checked' => 'no''autoload' => false,  ), array('title' => '''desc' => '''id' => 'eb_synchronize_users_button''default' => 'Start Synchronization''type' => 'button''desc_tip' => false'class' => 'button secondary',  ), array('type' => 'sectionend''id' => 'user_synchronization_options',  ),  ))
/edwiser-bridge/admin/settings/class-eb-settings-synchronization.php:1451$settings apply_filters('eb_course_synchronization_settings', array(array('title' => __('Synchronize Courses''eb-textdomain'), 'type' => 'title''id' => 'course_synchronization_options',  ), array('title' => __('Synchronization Options''eb-textdomain'), 'desc' => __('Synchronize course categories''eb-textdomain'), 'id' => 'eb_synchronize_categories''default' => 'no''type' => 'checkbox''checkboxgroup' => 'start''show_if_checked' => 'option''autoload' => false,  ), array('desc' => __('Update previously synchronized courses''eb-textdomain'), 'id' => 'eb_synchronize_previous''default' => 'no''type' => 'checkbox''checkboxgroup' => '''show_if_checked' => 'no''autoload' => false,  ), array('desc' => __('Keep synchronized courses as draft''eb-textdomain'), 'id' => 'eb_synchronize_draft''default' => 'yes''type' => 'checkbox''checkboxgroup' => '''show_if_checked' => 'yes''autoload' => false,  ), array('title' => '''desc' => '''id' => 'eb_synchronize_courses_button''default' => 'Start Synchronization''type' => 'button''desc_tip' => false'class' => 'button secondary',  ), array('type' => 'sectionend''id' => 'course_synchronization_options',  ),  ))
/edwiser-bridge/admin/settings/class-eb-settings-general.php:551$settings apply_filters('eb_general_settings', array(array('title' => __('General Options''eb-textdomain'), 'type' => 'title''desc' => '''id' => 'general_options',  ), array('title' => __('Enable Registration''eb-textdomain'), 'desc' => __('Enable user registration''eb-textdomain'), 'id' => 'eb_enable_registration''default' => 'no''type' => 'checkbox''autoload' => false,  ), array('title' => __('User Account Page''eb-textdomain'), 'desc' => '<br/>' $user_acc_desc'id' => 'eb_useraccount_page_id''type' => 'single_select_page''default' => '''css' => 'min-width:300px;''args' => array('show_option_none' => __('Select a page''eb-textdomain'), 'option_none_value' => '',  ), 'desc_tip' => __('This sets the user account page, where user can see his/her purchase history.''eb-textdomain'),  ), array('title' => __('Select Role''eb-textdomain'), 'desc' => '<br/>' __('Select default role for users on registration from User Account Page.''eb-textdomain'), 'id' => 'eb_default_role''type' => 'select''default' => __('Select Role''eb-textdomain'), 'css' => 'min-width:300px;''options' => eb_get_all_wp_roles( ), 'desc_tip' => __('Select default role for users on registration from User Account Page.''eb-textdomain'),  ), array('title' => __('Moodle Language Code''eb-textdomain'), 'desc' => __('Enter language code which you get from moodle language settings.''eb-textdomain'), 'id' => 'eb_language_code''default' => 'en''type' => 'text''css' => 'min-width:300px;''desc_tip' => true,  ), array('title' => __('Redirect to My Courses''eb-textdomain'), 'desc' => sprintf(__('Redirect user to the My Courses page on ''eb-textdomain') . '%s' __(' from the ''eb-textdomain') . '%s' __(' page.''eb-textdomain'), '<strong>' __('Login / Registration''eb-textdomain') . '</strong>''<a href="' esc_url(site_url('/user-account')) . '">' __('User Account''eb-textdomain') . '</a>'), __('Redirect user to the My Courses page on login and registration''eb-textdomain'), 'id' => 'eb_enable_my_courses''default' => 'no''type' => 'checkbox''autoload' => false,  ), array('title' => __('My Courses Page''eb-textdomain'), 'desc' => '<br/>' sprintf(__('Select my courses page here. Default page is''eb-textdomain') . ' %s ''<a href="' esc_url(site_url('/eb-my-courses')) . '">' __('My Courses''eb-textdomain') . '</a>'), 'id' => 'eb_my_courses_page_id''type' => 'single_select_page''default' => '''css' => 'min-width:300px;''args' => array('show_option_none' => __('Select a page''eb-textdomain'), 'option_none_value' => '',  ), 'desc_tip' => __("This sets 'My Courses' page, where the user can see all his purchased courses and access them directly. You have to use this shortcode [eb_my_courses] to create this page."'eb-textdomain'),  ), array('title' => __('Empty My courses Page Redirect Link''eb-textdomain'), 'desc' => __('Enter the link to where you want to redirect user from My Courses page when no course is enrolled if empty then will be redirected to the courses page''eb-textdomain'), 'id' => 'eb_my_course_link''default' => '''type' => 'text''css' => 'min-width:300px;''desc_tip' => true,  ), array('title' => __('Max number of courses in a row on the courses page''eb-textdomain'), 'desc' => '''id' => 'courses_per_row''type' => 'courses_per_row''default' => '''css' => '''desc_tip' => __('This setting will be applicable only on the `/courses` page template''eb-textdomain'),  ), array('title' => __('Erase associated Moodle data from Moodle site''eb-textdomain'), 'desc' => __('Erase associated Moodle data from Moodle site on erase personal data of wordpress site''eb-textdomain'), 'id' => 'eb_erase_moodle_data''default' => 'no''type' => 'checkbox''autoload' => false,  ), array('type' => 'sectionend''id' => 'general_options',  ), array('title' => __('Privacy Policy''eb-textdomain'), 'type' => 'title''desc' => '''id' => 'general_privacy_policy',  ), array('title' => __('Enable terms and conditions''eb-textdomain'), 'desc' => __('Check this to use terms and conditions checkbox on the user-account page.''eb-textdomain'), 'id' => 'eb_enable_terms_and_cond''default' => 'no''type' => 'checkbox''autoload' => false,  ), array('title' => __('Terms and Conditions''eb-textdomain'), 'desc' => __('Please enter the Terms and Conditions you want to show on user-account page.''eb-textdomain'), 'id' => 'eb_terms_and_cond''default' => '''type' => 'textarea''css' => 'min-width:300px; min-height: 110px;''desc_tip' => true,  ), array('type' => 'sectionend''id' => 'general_privacy_policy',  ), array('title' => __('Recommended Courses Settings''eb-textdomain'), 'type' => 'title''desc' => '''id' => 'general_recommended_options',  ), array('title' => __('Show Recommended Courses''eb-textdomain'), 'desc' => sprintf(__('Show recommended courses on eb-my-courses page.''eb-textdomain')), 'id' => 'eb_enable_recmnd_courses''default' => 'no''type' => 'checkbox''autoload' => false,  ), array('title' => __('Show Default Recommended Courses''eb-textdomain'), 'desc' => sprintf(__('Show category wise selected recommended courses on eb-my-courses page.''eb-textdomain')), 'id' => 'eb_show_default_recmnd_courses''default' => 'yes''type' => 'checkbox''autoload' => false,  ), array('title' => __('Select Courses''eb-textdomain'), 'desc' => '<br/>' sprintf(__('Select courses to show in custom courses in recommended course section.''eb-textdomain')), 'id' => 'eb_recmnd_courses''type' => 'multiselect''default' => '''options' => get_all_eb_sourses( ), 'desc_tip' => '',  ), array('type' => 'sectionend''id' => 'general_recommended_options',  ), array('title' => __('Refund Notification Settings''eb-textdomain'), 'type' => 'title''desc' => '''id' => 'refund_options',  ), array('title' => __('Notify Admin''eb-textdomain'), 'desc' => sprintf(__('Notify admin users on refund.''eb-textdomain')), 'id' => 'eb_refund_mail_to_admin''default' => 'yes''type' => 'checkbox''autoload' => false,  ), array('title' => __('Notification Email''eb-textdomain'), 'desc' => '<br/>' sprintf(__('Email address to send refund notification.''eb-textdomain')), 'id' => 'eb_refund_mail''type' => 'text''default' => '''desc_tip' => __('Specify email address to send refund notification, otherwise keep it blank.''eb-textdomain'),  ), array('type' => 'sectionend''id' => 'refund_options',  ), array('title' => __('Usage Tracking''eb-textdomain'), 'type' => 'title''desc' => '''id' => 'refund_options',  ), array('title' => __('Allow Usage Tracking''eb-textdomain'), 'desc' => sprintf(__('This will help us in building more useful functionalities for you.''eb-textdomain')), 'id' => 'eb_usage_tracking''default' => 'yes''type' => 'checkbox''autoload' => false,  ), array('type' => 'cust_html''html' => $this->get_Popup_Code( ),  ), array('type' => 'sectionend''id' => 'general_options',  ),  ))
/edwiser-bridge/admin/settings/class-eb-settings-connection.php:711$settings apply_filters('eb_connection_settings', array(array('title' => __('Connection Settings''eb-textdomain'), 'type' => 'title''id' => 'connection_options',  ), array('title' => __('Moodle URL''eb-textdomain'), 'desc' => __('Moodle URL ( Like: http://example.com or http://example.com/moodle etc.)''eb-textdomain'), 'id' => 'eb_url''css' => 'min-width:350px;''default' => '''type' => 'url''desc_tip' => true'custom_attributes' => array('required' => 'required'),  ), array('title' => __('Moodle Access Token''eb-textdomain'), 'desc' => __('Moodle access token.''eb-textdomain'), 'id' => 'eb_access_token''css' => 'min-width:350px;''default' => '''type' => 'text''desc_tip' => true'custom_attributes' => array('required' => 'required'),  ), array('title' => '''desc' => '''id' => 'eb_test_connection_button''default' => __('Test Connection''eb-textdomain'), 'type' => 'button''desc_tip' => false'class' => 'button secondary',  ), array('type' => 'sectionend''id' => 'connection_options',  ),  ))
/edwiser-bridge/public/shortcodes/class-eb-shortcode-my-courses.php:3011$args = array('post_type' => 'eb_course''post_status' => 'publish''posts_per_page' => 4'tax_query' => array(array('taxonomy' => 'eb_course_cat''field' => 'slug''terms' => $this->get_recommended_categories(array($post->ID)),  ),  ), 'post__not_in' => array($post->ID),  )
/edwiser-bridge/public/shortcodes/class-eb-shortcode-user-account.php:1471$user_orders[] = array('eb_order_id' => $order_id'ordered_item' => $order_detail['course_id'], 'billing_email' => isset($order_detail['billing_email']) ? $order_detail['billing_email'] : '-''currency' => isset($order_detail['currency']) ? $order_detail['currency'] : '$''amount_paid' => isset($order_detail['amount_paid']) ? $order_detail['amount_paid'] : '''status' => isset($order_detail['order_status']) ? $order_detail['order_status'] : '''date' => get_the_date('Y-m-d'$order_id),  )
/edwiser-bridge/public/shortcodes/class-eb-shortcode-user-account.php:3052$user_data = array('id' => (int) $mdl_uid'email' => $posted_data['email'], 'firstname' => $posted_data['first_name'], 'lastname' => $posted_data['last_name'], 'alternatename' => $posted_data['nickname'], 'auth' => 'manual''city' => $posted_data['city'], 'country' => $posted_data['country'] ? $posted_data['country'] : '''description' => $posted_data['description'],  )
/edwiser-bridge/includes/class-eb-activator.php:2321apply_filters('eb_create_default_pages', array('thankyou' => array('name' => esc_html_x('thank-you-for-purchase''Page slug''eb-textdomain'), 'title' => esc_html_x('Thank You for Purchase''Page title''eb-textdomain'), 'content' => esc_html__('Thanks for purchasing the course, your order will be processed shortly.''eb-textdomain'), 'option_key' => '',  ), 'useraccount' => array('name' => esc_html_x('user-account''Page slug''eb-textdomain'), 'title' => esc_html_x('User Account''Page title''eb-textdomain'), 'content' => '[' apply_filters('eb_user_account_shortcode_tag''eb_user_account') . ']''option_key' => 'eb_useraccount_page_id',  ), 'mycourses' => array('name' => esc_html_x('eb-my-courses''Page slug''eb-textdomain'), 'title' => esc_html_x('My Courses''Page title''eb-textdomain'), 'content' => $page_content['eb_my_courses'], 'option_key' => 'eb_my_courses_page_id',  ), 'courses' => array('name' => esc_html_x('eb-courses''Page slug''eb-textdomain'), 'title' => esc_html_x('Courses''Page title''eb-textdomain'), 'content' => $page_content['eb_courses'], 'option_key' => '',  ),  ))
/edwiser-bridge/includes/class-eb-custom-list-table.php:471apply_filters('edwiser_add_colomn_to_manage_enrollment', array('cb' => '<input type="checkbox" />''rId' => esc_html_x('Record ID''Column label''eb-textdomain'), 'user' => esc_html__('User''eb-textdomain'), 'course' => esc_html__('Course''eb-textdomain'), 'enrolled_date' => esc_html__('Enrolled Date''eb-textdomain'), 'manage' => esc_html__('Manage''eb-textdomain'),  ))
/edwiser-bridge/includes/class-eb-post-types.php:601register_taxonomy('eb_course_cat'apply_filters('eb_taxonomy_objects_eb_course_cat', array('eb_course')), apply_filters('eb_taxonomy_args_eb_course_cat', array('hierarchical' => true'label' => __('Course Categories''eb-textdomain'), 'labels' => array('name' => __('Course Categories''eb-textdomain'), 'singular_name' => __('Course Category''eb-textdomain'), 'menu_name' => _x('Course Categories''Admin menu name''eb-textdomain'), 'search_items' => __('Search Course Categories''eb-textdomain'), 'all_items' => __('All Course Categories''eb-textdomain'), 'parent_item' => __('Parent Course Categories''eb-textdomain'), 'parent_item_colon' => __('Parent Course Category:''eb-textdomain'), 'edit_item' => __('Edit Course Category''eb-textdomain'), 'update_item' => __('Update Course Category''eb-textdomain'), 'add_new_item' => __('Add New Course Category''eb-textdomain'), 'new_item_name' => __('New Course Category Name''eb-textdomain'),  ), 'show_ui' => true'query_var' => true'hierarchical' => true'rewrite' => array('slug' => 'eb_category'),  )))
/edwiser-bridge/includes/class-eb-post-types.php:631apply_filters('eb_taxonomy_args_eb_course_cat', array('hierarchical' => true'label' => __('Course Categories''eb-textdomain'), 'labels' => array('name' => __('Course Categories''eb-textdomain'), 'singular_name' => __('Course Category''eb-textdomain'), 'menu_name' => _x('Course Categories''Admin menu name''eb-textdomain'), 'search_items' => __('Search Course Categories''eb-textdomain'), 'all_items' => __('All Course Categories''eb-textdomain'), 'parent_item' => __('Parent Course Categories''eb-textdomain'), 'parent_item_colon' => __('Parent Course Category:''eb-textdomain'), 'edit_item' => __('Edit Course Category''eb-textdomain'), 'update_item' => __('Update Course Category''eb-textdomain'), 'add_new_item' => __('Add New Course Category''eb-textdomain'), 'new_item_name' => __('New Course Category Name''eb-textdomain'),  ), 'show_ui' => true'query_var' => true'hierarchical' => true'rewrite' => array('slug' => 'eb_category'),  ))
/edwiser-bridge/includes/class-eb-post-types.php:981register_post_type('eb_course'apply_filters('eb_register_post_type_courses', array('labels' => array('name' => __('Edwiser Bridge''eb-textdomain'), 'singular_name' => __('Moodle Course''eb-textdomain'), 'menu_name' => _x('Edwiser Bridge''Admin menu name''eb-textdomain'), 'all_items' => __('Courses''eb-textdomain'), 'add_new' => __('Add Course''eb-textdomain'), 'add_new_item' => __('Add New Course''eb-textdomain'), 'edit' => __('Edit''eb-textdomain'), 'edit_item' => __('Edit Course''eb-textdomain'), 'new_item' => __('New Course''eb-textdomain'), 'view' => __('View Course''eb-textdomain'), 'view_item' => __('View Course''eb-textdomain'), 'search_items' => __('Search Courses''eb-textdomain'), 'not_found' => __('No Courses found''eb-textdomain'), 'not_found_in_trash' => __('No Courses found in trash''eb-textdomain'),  ), 'description' => __('This is where you can add new courses to your Moodle LMS.''eb-textdomain'), 'public' => true'capability_type' => 'post''capabilities' => array('create_posts' => false,  ), 'map_meta_cap' => true'show_ui' => true'show_in_menu' => true'menu_icon' => 'dashicons-book-alt''menu_position' => 54'hierarchical' => false'rewrite' => array('slug' => 'courses'), 'query_var' => true'supports' => array('title''editor''thumbnail''comments'), 'has_archive' => true'show_in_nav_menus' => true'taxonomies' => array('eb_course_cat'),  )))
/edwiser-bridge/admin/settings/class-eb-settings-synchronization.php:991apply_filters('eb_user_synchronization_settings', array(array('title' => __('Synchronize User Data''eb-textdomain'), 'type' => 'title''id' => 'user_synchronization_options',  ), array('title' => __('Synchronization Options''eb-textdomain'), 'desc' => __('Update user\'s course enrollment status''eb-textdomain'), 'id' => 'eb_synchronize_user_courses''default' => 'no''type' => 'checkbox''checkboxgroup' => 'start''show_if_checked' => 'option''autoload' => false,  ), array('desc' => __('Link user\'s account to moodle''eb-textdomain'), 'id' => 'eb_link_users_to_moodle''default' => 'no''type' => 'checkbox''checkboxgroup' => '''show_if_checked' => 'no''autoload' => false,  ), array('title' => '''desc' => '''id' => 'eb_synchronize_users_button''default' => 'Start Synchronization''type' => 'button''desc_tip' => false'class' => 'button secondary',  ), array('type' => 'sectionend''id' => 'user_synchronization_options',  ),  ))
/edwiser-bridge/admin/settings/class-eb-settings-paypal.php:711apply_filters('eb_paypal_settings', array(array('title' => __('PayPal Settings''eb-textdomain'), 'type' => 'title''id' => 'paypal_options',  ), array('title' => __('PayPal Email''eb-textdomain'), 'desc' => __('Enter your PayPal email here.''eb-textdomain'), 'id' => 'eb_paypal_email''css' => 'min-width:350px;''default' => '''type' => 'email''desc_tip' => true'custom_attributes' => array('required' => 'required'),  ), array('title' => __('PayPal Currency''eb-textdomain'), 'desc' => __('Select transaction currency code, Default is USD.''eb-textdomain'), 'id' => 'eb_paypal_currency''css' => 'min-width:350px;''default' => '''type' => 'select''desc_tip' => true'options' => array('USD' => __('U.S. Dollar (USD)''eb-textdomain'), 'CAD' => __('Canadian Dollar (CAD)''eb-textdomain'), 'NZD' => __('New Zealand Dollar (NZD)''eb-textdomain'), 'HKD' => __('Hong Kong Dollar (HKD)''eb-textdomain'), 'EUR' => __('Euro (EUR)''eb-textdomain'), 'JPY' => __('Japanese Yen (JPY)''eb-textdomain'), 'MXN' => __('Mexican Peso (MXN)''eb-textdomain'), 'CHF' => __('Swiss Franc (CHF)''eb-textdomain'), 'GBP' => __('Pound Sterling (GBP)''eb-textdomain'), 'AUD' => __('Australian Dollar (AUD)''eb-textdomain'), 'PLN' => __('Polish Zloty (PLN)''eb-textdomain'), 'DKK' => __('Danish Krone (DKK)''eb-textdomain'), 'SGD' => __('Singapore Dollar (SGD)''eb-textdomain'),  ),  ), array('title' => __('PayPal Country''eb-textdomain'), 'desc' => __('Enter your country code here.''eb-textdomain'), 'id' => 'eb_paypal_country_code''css' => 'min-width:350px;''default' => 'US''type' => 'text''desc_tip' => true'custom_attributes' => array('required' => 'required'),  ), array('title' => __('PayPal Cancel URL''eb-textdomain'), 'desc' => __('Enter the URL used for purchase cancellations.''eb-textdomain'), 'id' => 'eb_paypal_cancel_url''css' => 'min-width:350px;''default' => site_url( ), 'type' => 'url''desc_tip' => true'custom_attributes' => array('required' => 'required'),  ), array('title' => __('PayPal Return URL''eb-textdomain'), 'desc' => __('Enter the URL used for completed purchases (a thank you page).''eb-textdomain'), 'id' => 'eb_paypal_return_url''css' => 'min-width:350px;''default' => site_url('/thank-you-for-purchase/ '), 'type' => 'url''desc_tip' => true'custom_attributes' => array('required' => 'required'),  ), array('title' => __('PayPal Notify URL''eb-textdomain'), 'desc' => __('Enter the URL used for IPN notifications.''eb-textdomain'), 'id' => 'eb_paypal_notify_url''css' => 'min-width:350px;''default' => site_url('/eb/paypal-notify'), 'type' => 'url''desc_tip' => true'custom_attributes' => array('readonly' => 'readonly'),  ), array('title' => __('Use PayPal Sandbox''eb-textdomain'), 'desc' => __('Check to enable the PayPal sandbox.''eb-textdomain'), 'id' => 'eb_paypal_sandbox''default' => 'no''type' => 'checkbox''show_if_checked' => 'option''autoload' => false,  ), array('type' => 'sectionend''id' => 'paypal_options',  ), array('title' => __('PayPal API Credentials (Optional)''eb-textdomain'), 'type' => 'title''id' => 'paypal_api_options''desc' => __('To use order refunds following fields are mandatory.''eb-textdomain'),  ), array('title' => __('API username''eb-textdomain'), 'id' => 'eb_api_username''css' => 'min-width:350px;''default' => '''type' => 'text''autoload' => false,  ), array('title' => __('API password''eb-textdomain'), 'id' => 'eb_api_password''css' => 'min-width:350px;''default' => '''type' => 'password''autoload' => false,  ), array('title' => __('API signature''eb-textdomain'), 'id' => 'eb_api_signature''css' => 'min-width:350px;''default' => '''type' => 'text''autoload' => false,  ), array('type' => 'sectionend''id' => 'paypal_api_options',  ),  ))
/edwiser-bridge/admin/settings/class-eb-settings-general.php:551apply_filters('eb_general_settings', array(array('title' => __('General Options''eb-textdomain'), 'type' => 'title''desc' => '''id' => 'general_options',  ), array('title' => __('Enable Registration''eb-textdomain'), 'desc' => __('Enable user registration''eb-textdomain'), 'id' => 'eb_enable_registration''default' => 'no''type' => 'checkbox''autoload' => false,  ), array('title' => __('User Account Page''eb-textdomain'), 'desc' => '<br/>' $user_acc_desc'id' => 'eb_useraccount_page_id''type' => 'single_select_page''default' => '''css' => 'min-width:300px;''args' => array('show_option_none' => __('Select a page''eb-textdomain'), 'option_none_value' => '',  ), 'desc_tip' => __('This sets the user account page, where user can see his/her purchase history.''eb-textdomain'),  ), array('title' => __('Select Role''eb-textdomain'), 'desc' => '<br/>' __('Select default role for users on registration from User Account Page.''eb-textdomain'), 'id' => 'eb_default_role''type' => 'select''default' => __('Select Role''eb-textdomain'), 'css' => 'min-width:300px;''options' => eb_get_all_wp_roles( ), 'desc_tip' => __('Select default role for users on registration from User Account Page.''eb-textdomain'),  ), array('title' => __('Moodle Language Code''eb-textdomain'), 'desc' => __('Enter language code which you get from moodle language settings.''eb-textdomain'), 'id' => 'eb_language_code''default' => 'en''type' => 'text''css' => 'min-width:300px;''desc_tip' => true,  ), array('title' => __('Redirect to My Courses''eb-textdomain'), 'desc' => sprintf(__('Redirect user to the My Courses page on ''eb-textdomain') . '%s' __(' from the ''eb-textdomain') . '%s' __(' page.''eb-textdomain'), '<strong>' __('Login / Registration''eb-textdomain') . '</strong>''<a href="' esc_url(site_url('/user-account')) . '">' __('User Account''eb-textdomain') . '</a>'), __('Redirect user to the My Courses page on login and registration''eb-textdomain'), 'id' => 'eb_enable_my_courses''default' => 'no''type' => 'checkbox''autoload' => false,  ), array('title' => __('My Courses Page''eb-textdomain'), 'desc' => '<br/>' sprintf(__('Select my courses page here. Default page is''eb-textdomain') . ' %s ''<a href="' esc_url(site_url('/eb-my-courses')) . '">' __('My Courses''eb-textdomain') . '</a>'), 'id' => 'eb_my_courses_page_id''type' => 'single_select_page''default' => '''css' => 'min-width:300px;''args' => array('show_option_none' => __('Select a page''eb-textdomain'), 'option_none_value' => '',  ), 'desc_tip' => __("This sets 'My Courses' page, where the user can see all his purchased courses and access them directly. You have to use this shortcode [eb_my_courses] to create this page."'eb-textdomain'),  ), array('title' => __('Empty My courses Page Redirect Link''eb-textdomain'), 'desc' => __('Enter the link to where you want to redirect user from My Courses page when no course is enrolled if empty then will be redirected to the courses page''eb-textdomain'), 'id' => 'eb_my_course_link''default' => '''type' => 'text''css' => 'min-width:300px;''desc_tip' => true,  ), array('title' => __('Max number of courses in a row on the courses page''eb-textdomain'), 'desc' => '''id' => 'courses_per_row''type' => 'courses_per_row''default' => '''css' => '''desc_tip' => __('This setting will be applicable only on the `/courses` page template''eb-textdomain'),  ), array('title' => __('Erase associated Moodle data from Moodle site''eb-textdomain'), 'desc' => __('Erase associated Moodle data from Moodle site on erase personal data of wordpress site''eb-textdomain'), 'id' => 'eb_erase_moodle_data''default' => 'no''type' => 'checkbox''autoload' => false,  ), array('type' => 'sectionend''id' => 'general_options',  ), array('title' => __('Privacy Policy''eb-textdomain'), 'type' => 'title''desc' => '''id' => 'general_privacy_policy',  ), array('title' => __('Enable terms and conditions''eb-textdomain'), 'desc' => __('Check this to use terms and conditions checkbox on the user-account page.''eb-textdomain'), 'id' => 'eb_enable_terms_and_cond''default' => 'no''type' => 'checkbox''autoload' => false,  ), array('title' => __('Terms and Conditions''eb-textdomain'), 'desc' => __('Please enter the Terms and Conditions you want to show on user-account page.''eb-textdomain'), 'id' => 'eb_terms_and_cond''default' => '''type' => 'textarea''css' => 'min-width:300px; min-height: 110px;''desc_tip' => true,  ), array('type' => 'sectionend''id' => 'general_privacy_policy',  ), array('title' => __('Recommended Courses Settings''eb-textdomain'), 'type' => 'title''desc' => '''id' => 'general_recommended_options',  ), array('title' => __('Show Recommended Courses''eb-textdomain'), 'desc' => sprintf(__('Show recommended courses on eb-my-courses page.''eb-textdomain')), 'id' => 'eb_enable_recmnd_courses''default' => 'no''type' => 'checkbox''autoload' => false,  ), array('title' => __('Show Default Recommended Courses''eb-textdomain'), 'desc' => sprintf(__('Show category wise selected recommended courses on eb-my-courses page.''eb-textdomain')), 'id' => 'eb_show_default_recmnd_courses''default' => 'yes''type' => 'checkbox''autoload' => false,  ), array('title' => __('Select Courses''eb-textdomain'), 'desc' => '<br/>' sprintf(__('Select courses to show in custom courses in recommended course section.''eb-textdomain')), 'id' => 'eb_recmnd_courses''type' => 'multiselect''default' => '''options' => get_all_eb_sourses( ), 'desc_tip' => '',  ), array('type' => 'sectionend''id' => 'general_recommended_options',  ), array('title' => __('Refund Notification Settings''eb-textdomain'), 'type' => 'title''desc' => '''id' => 'refund_options',  ), array('title' => __('Notify Admin''eb-textdomain'), 'desc' => sprintf(__('Notify admin users on refund.''eb-textdomain')), 'id' => 'eb_refund_mail_to_admin''default' => 'yes''type' => 'checkbox''autoload' => false,  ), array('title' => __('Notification Email''eb-textdomain'), 'desc' => '<br/>' sprintf(__('Email address to send refund notification.''eb-textdomain')), 'id' => 'eb_refund_mail''type' => 'text''default' => '''desc_tip' => __('Specify email address to send refund notification, otherwise keep it blank.''eb-textdomain'),  ), array('type' => 'sectionend''id' => 'refund_options',  ), array('title' => __('Usage Tracking''eb-textdomain'), 'type' => 'title''desc' => '''id' => 'refund_options',  ), array('title' => __('Allow Usage Tracking''eb-textdomain'), 'desc' => sprintf(__('This will help us in building more useful functionalities for you.''eb-textdomain')), 'id' => 'eb_usage_tracking''default' => 'yes''type' => 'checkbox''autoload' => false,  ), array('type' => 'cust_html''html' => $this->get_Popup_Code( ),  ), array('type' => 'sectionend''id' => 'general_options',  ),  ))
/edwiser-bridge/admin/settings/class-eb-settings-synchronization.php:1451apply_filters('eb_course_synchronization_settings', array(array('title' => __('Synchronize Courses''eb-textdomain'), 'type' => 'title''id' => 'course_synchronization_options',  ), array('title' => __('Synchronization Options''eb-textdomain'), 'desc' => __('Synchronize course categories''eb-textdomain'), 'id' => 'eb_synchronize_categories''default' => 'no''type' => 'checkbox''checkboxgroup' => 'start''show_if_checked' => 'option''autoload' => false,  ), array('desc' => __('Update previously synchronized courses''eb-textdomain'), 'id' => 'eb_synchronize_previous''default' => 'no''type' => 'checkbox''checkboxgroup' => '''show_if_checked' => 'no''autoload' => false,  ), array('desc' => __('Keep synchronized courses as draft''eb-textdomain'), 'id' => 'eb_synchronize_draft''default' => 'yes''type' => 'checkbox''checkboxgroup' => '''show_if_checked' => 'yes''autoload' => false,  ), array('title' => '''desc' => '''id' => 'eb_synchronize_courses_button''default' => 'Start Synchronization''type' => 'button''desc_tip' => false'class' => 'button secondary',  ), array('type' => 'sectionend''id' => 'course_synchronization_options',  ),  ))
/edwiser-bridge/public/class-eb-public.php:1511wp_localize_script($this->plugin_name'eb_public_js_object', array('ajaxurl' => admin_url('admin-ajax.php'), 'nonce' => $nonce'msg_val_fn' => __("The field 'First Name' cannot be left blank"'eb-textdomain'), 'msg_val_ln' => __("The field 'Last Name' cannot be left blank"'eb-textdomain'), 'msg_val_mail' => __("The field 'Email' cannot be left blank"'eb-textdomain'), 'msg_ordr_pro_err' => __('Problems in processing your order, Please try later.''eb-textdomain'), 'msg_processing' => __('Processing...''eb-textdomain'), 'access_course' => __('Access Course''eb-textdomain'),  ))
/edwiser-bridge/admin/settings/class-eb-settings-connection.php:711apply_filters('eb_connection_settings', array(array('title' => __('Connection Settings''eb-textdomain'), 'type' => 'title''id' => 'connection_options',  ), array('title' => __('Moodle URL''eb-textdomain'), 'desc' => __('Moodle URL ( Like: http://example.com or http://example.com/moodle etc.)''eb-textdomain'), 'id' => 'eb_url''css' => 'min-width:350px;''default' => '''type' => 'url''desc_tip' => true'custom_attributes' => array('required' => 'required'),  ), array('title' => __('Moodle Access Token''eb-textdomain'), 'desc' => __('Moodle access token.''eb-textdomain'), 'id' => 'eb_access_token''css' => 'min-width:350px;''default' => '''type' => 'text''desc_tip' => true'custom_attributes' => array('required' => 'required'),  ), array('title' => '''desc' => '''id' => 'eb_test_connection_button''default' => __('Test Connection''eb-textdomain'), 'type' => 'button''desc_tip' => false'class' => 'button secondary',  ), array('type' => 'sectionend''id' => 'connection_options',  ),  ))
/edwiser-bridge/public/shortcodes/class-eb-shortcode-user-account.php:3571apply_filters('eb_user_account_labels', array(array('label' => __('Dashboard''eb-textdomain'), 'href' => '''' => __('Dashboard''eb-textdomain'),  ), array('label' => __('Account Details''eb-textdomain'), 'href' => 'eb-my-profile''' => __('Edit account details''eb-textdomain'),  ), array('label' => __('Orders''eb-textdomain'), 'href' => 'eb-orders''' => __('Course purchase history''eb-textdomain'),  ), array('label' => __('My Courses''eb-textdomain'), 'href' => 'eb-my-courses''' => __('My Courses''eb-textdomain'),  ),  ))
/edwiser-bridge/public/class-eb-public.php:1671wp_localize_script($this->plugin_name'ebDataTable', array('search' => __('Search:''eb-textdomain'), 'sEmptyTable' => __('No data available in table''eb-textdomain'), 'sLoadingRecords' => __('Loading...''eb-textdomain'), 'sSearch' => __('Search''eb-textdomain'), 'sZeroRecords' => __('No matching records found''eb-textdomain'), 'sProcessing' => __('Processing...''eb-textdomain'), 'sInfo' => __('Showing _START_ to _END_ of _TOTAL_ entries''eb-textdomain'), 'sInfoEmpty' => __('Showing 0 to 0 of 0 entries''eb-textdomain'), 'sInfoFiltered' => __('filtered from _MAX_ total entries''eb-textdomain'), 'sInfoPostFix' => __('''eb-textdomain'), 'sInfoThousands' => __(',''eb-textdomain'), 'sLengthMenu' => __('Show _MENU_ entries''eb-textdomain'), 'sFirst' => __('First''eb-textdomain'), 'sLast' => __('Last''eb-textdomain'), 'sNext' => __('Next''eb-textdomain'), 'sPrevious' => __('Previous''eb-textdomain'), 'sSortAscending' => __(': activate to sort column ascending''eb-textdomain'), 'sSortDescending' => __(': activate to sort column descending''eb-textdomain'),  ))
/edwiser-bridge/includes/class-eb-post-types.php:1461register_post_type('eb_order'apply_filters('eb_register_post_type_order', array('labels' => array('name' => __('Orders''eb-textdomain'), 'singular_name' => __('Order''eb-textdomain'), 'menu_name' => _x('Orders''Admin menu name''eb-textdomain'), 'add_new' => __('Add Order''eb-textdomain'), 'add_new_item' => __('Add New Order''eb-textdomain'), 'edit' => __('Edit''eb-textdomain'), 'edit_item' => __('Edit Order''eb-textdomain'), 'new_item' => __('New Order''eb-textdomain'), 'view' => __('View Order''eb-textdomain'), 'view_item' => __('View Order''eb-textdomain'), 'search_items' => __('Search Orders''eb-textdomain'), 'not_found' => __('No orders found''eb-textdomain'), 'not_found_in_trash' => __('No orders found in trash''eb-textdomain'),  ), 'description' => __('This is where you can see course orders.''eb-textdomain'), 'public' => false'capability_type' => 'post''capabilities' => array('create_posts' => true,  ), 'map_meta_cap' => true'show_ui' => true'show_in_menu' => false'menu_position' => 80'hierarchical' => false'rewrite' => array('slug' => 'orders'), 'query_var' => true'supports' => array('title'), 'has_archive' => false'show_in_nav_menus' => false,  )))
/edwiser-bridge/includes/class-eb-post-types.php:1001apply_filters('eb_register_post_type_courses', array('labels' => array('name' => __('Edwiser Bridge''eb-textdomain'), 'singular_name' => __('Moodle Course''eb-textdomain'), 'menu_name' => _x('Edwiser Bridge''Admin menu name''eb-textdomain'), 'all_items' => __('Courses''eb-textdomain'), 'add_new' => __('Add Course''eb-textdomain'), 'add_new_item' => __('Add New Course''eb-textdomain'), 'edit' => __('Edit''eb-textdomain'), 'edit_item' => __('Edit Course''eb-textdomain'), 'new_item' => __('New Course''eb-textdomain'), 'view' => __('View Course''eb-textdomain'), 'view_item' => __('View Course''eb-textdomain'), 'search_items' => __('Search Courses''eb-textdomain'), 'not_found' => __('No Courses found''eb-textdomain'), 'not_found_in_trash' => __('No Courses found in trash''eb-textdomain'),  ), 'description' => __('This is where you can add new courses to your Moodle LMS.''eb-textdomain'), 'public' => true'capability_type' => 'post''capabilities' => array('create_posts' => false,  ), 'map_meta_cap' => true'show_ui' => true'show_in_menu' => true'menu_icon' => 'dashicons-book-alt''menu_position' => 54'hierarchical' => false'rewrite' => array('slug' => 'courses'), 'query_var' => true'supports' => array('title''editor''thumbnail''comments'), 'has_archive' => true'show_in_nav_menus' => true'taxonomies' => array('eb_course_cat'),  ))
/edwiser-bridge/includes/payments/class-eb-payment-manager.php:2921wptexturize(do_shortcode("[paypal type='paynow'
                            amount='
{$course_price}'
                            sandbox='
{$paypal_sandbox}'
                            email='
{$paypal_email}'
                            itemno='
{$course->ID}'
                            name='
{$course->post_title}'
                            noshipping='1' nonote='1'
                            qty='1' currencycode='
{$paypal_currency}'
                            rm='2' notifyurl='
{$paypal_notifyurl}'
                            returnurl='
{$paypal_returnurl}'
                            scriptcode='scriptcode' imagewidth='100px'
                            pagestyle='paypal' lc='
{$paypal_country}'
                            cbt='" 
esc_html__('Complete Your Purchase''eb-textdomain') . "' custom='" $user_id "']"))
/edwiser-bridge/includes/class-eb-post-types.php:1481apply_filters('eb_register_post_type_order', array('labels' => array('name' => __('Orders''eb-textdomain'), 'singular_name' => __('Order''eb-textdomain'), 'menu_name' => _x('Orders''Admin menu name''eb-textdomain'), 'add_new' => __('Add Order''eb-textdomain'), 'add_new_item' => __('Add New Order''eb-textdomain'), 'edit' => __('Edit''eb-textdomain'), 'edit_item' => __('Edit Order''eb-textdomain'), 'new_item' => __('New Order''eb-textdomain'), 'view' => __('View Order''eb-textdomain'), 'view_item' => __('View Order''eb-textdomain'), 'search_items' => __('Search Orders''eb-textdomain'), 'not_found' => __('No orders found''eb-textdomain'), 'not_found_in_trash' => __('No orders found in trash''eb-textdomain'),  ), 'description' => __('This is where you can see course orders.''eb-textdomain'), 'public' => false'capability_type' => 'post''capabilities' => array('create_posts' => true,  ), 'map_meta_cap' => true'show_ui' => true'show_in_menu' => false'menu_position' => 80'hierarchical' => false'rewrite' => array('slug' => 'orders'), 'query_var' => true'supports' => array('title'), 'has_archive' => false'show_in_nav_menus' => false,  ))
/edwiser-bridge/includes/payments/enhanced-paypal-shortcodes.php:3121shortcode_atts(array('type' => '''textalign' => '''divwidth' => '''float' => '''marginleft' => '''marginright' => '''margintop' => '''marginbottom' => '''sandbox' => '''qty' => '1''shipping' => '''shipping2' => '''imageurl' => '''imagewidth' => '100px''noshipping' => '1''nonote' => '1''rm' => '2''lc' => '''cbt' => esc_html__('Complete Your Purchase''eb-textdomain'), 'cn' => '''pagestyle' => 'paypal''notifyurl' => '''notifyurl2' => '''returnurl' => '''cancelurl' => '''scriptcode' => 'scriptcode''email' => '''currencycode' => '''itemno' => '''name' => '''amount' => '''cancelreturn' => '''a1' => '''p1' => '''t1' => '''a2' => '''p2' => '''t2' => '''a3' => '''p3' => '''t3' => '''src' => 1'srt' => 0'sra' => 1'modify' => '''custom' => '',  ), $atts)
/edwiser-bridge/includes/payments/class-eb-payment-manager.php:2931do_shortcode("[paypal type='paynow'
                            amount='
{$course_price}'
                            sandbox='
{$paypal_sandbox}'
                            email='
{$paypal_email}'
                            itemno='
{$course->ID}'
                            name='
{$course->post_title}'
                            noshipping='1' nonote='1'
                            qty='1' currencycode='
{$paypal_currency}'
                            rm='2' notifyurl='
{$paypal_notifyurl}'
                            returnurl='
{$paypal_returnurl}'
                            scriptcode='scriptcode' imagewidth='100px'
                            pagestyle='paypal' lc='
{$paypal_country}'
                            cbt='" 
esc_html__('Complete Your Purchase''eb-textdomain') . "' custom='" $user_id "']")