예제 #1
0
 /**
  * Get the URL of the My Account page. If Sensei is installed, it's the Dashboard page.
  * @return string
  */
 public static function get_account_url()
 {
     if (self::is_sensei_installed()) {
         return get_permalink(get_option('woothemes-sensei_user_dashboard_page_id', -1));
     } elseif (self::is_woocommerce_installed()) {
         return get_permalink(WC_FUE_Compatibility::wc_get_page_id('myaccount'));
     }
     return apply_filters('fue_get_account_url', get_bloginfo('url'));
 }