get_notifications(); /** * Hook 'merchant_notifications_pro' * * @since 1.0 */ $merchant_notifications_pro = apply_filters( 'merchant_notifications_pro', false ); /** * Hook 'merchant_notification_tabs' * * @since 1.0 */ $merchant_notification_tabs = apply_filters( 'merchant_notification_tabs', false ); $merchant_notification_read = $this->is_latest_notification_read(); ?>

post_date ) ? $merchant_notification->post_date : false; ?> post_title ) ? $merchant_notification->post_title : false; ?> post_content ) ? $merchant_notification->post_content : false; ?>
()

post_date ) ? $merchant_notification->post_date : false; ?> post_title ) ? $merchant_notification->post_title : false; ?> post_content ) ? $merchant_notification->post_content : false; ?>
()

$merchant_module ) { if ( ! empty( $merchant_option_modules[ $merchant_module_id ] ) ) { $merchant_active_modules++; } } } } } ?>
Merchant
$merchant_module ) : $is_upsell = ! defined( 'MERCHANT_PRO_VERSION' ) && isset( $merchant_module['pro'] ) && true === $merchant_module['pro']; $module_link = add_query_arg( array( 'page' => 'merchant', 'module' => $merchant_module_id ), 'admin.php' ); $link_target = '_self'; /** * Hook 'merchant_admin_module_{module_id}_list_item_class' * * @since 1.0 */ $module_list_item_class = apply_filters( "merchant_admin_module_{$merchant_module_id}_list_item_class", 'merchant-modules-list-item' ); $has_wc_required_class = strpos( $module_list_item_class, 'merchant-module-wc-only' ) !== FALSE ? true : false; $has_bp_deactivated_class = strpos( $module_list_item_class, 'merchant-module-deactivated-by-bp' ) !== FALSE ? true : false; if ( $has_wc_required_class ) { if ( isset( $merchant_module[ 'pro' ] ) && $merchant_module[ 'pro' ] === true ) { $module_link = 'https://athemes.com/merchant-upgrade?utm_source=plugin_dashboard&utm_medium=merchant_dashboard&utm_campaign=Merchant'; $link_target = '_blank'; } else { $module_link = '#'; } } else { $module_link = $has_bp_deactivated_class ? '#' : $module_link; } ?>