WPCF7_Service{}CF7 1.0

Abstract class for services.

Only instances of this class's subclasses are allowed to be listed on the Integration page.

Хуков нет.

Использование

$WPCF7_Service = new WPCF7_Service();
// use class methods

Методы

  1. public admin_notice( $message = '' )
  2. public display( $action = '' )
  3. public get_categories()
  4. public get_title()
  5. public icon()
  6. public is_active()
  7. public link()
  8. public load( $action = '' )

Код WPCF7_Service{} CF7 5.6.3

abstract class WPCF7_Service {

	abstract public function get_title();
	abstract public function is_active();


	public function get_categories() {
		return array();
	}


	public function icon() {
		return '';
	}


	public function link() {
		return '';
	}


	public function load( $action = '' ) {
	}


	public function display( $action = '' ) {
	}


	public function admin_notice( $message = '' ) {
	}

}