BigCommerce for WordPress
  • Hooks
  • Classes
  • Methods
  • Functions
  • About
Skip to content
Filter by type:
Home / Reference / Classes / Account_Page

Account_Page

Summary

No summary available.

Source

File: src/BigCommerce/Pages/Account_Page.php

class Account_Page extends Required_Page {
	const NAME = 'bigcommerce_account_page_id';

	protected function get_title() {
		return _x( 'Account Profile', 'title of the account page', 'bigcommerce' );
	}

	protected function get_slug() {
		return _x( 'account-profile', 'slug of the account page', 'bigcommerce' );
	}

	public function get_content() {
		return sprintf( '[%s]', Shortcodes\Account_Profile::NAME );
	}

	public function get_post_state_label() {
		return __( 'Account Profile Page', 'bigcommerce' );
	}

}

Expand full source code Collapse full source code


Methods

  • get_content
  • get_post_state_label

User Contributed Notes

Have a note or feedback to contribute?

You must log in before being able to contribute a note or feedback.

BigCommerce for WordPress is made by: