WPCF7_Integration::get_service()
Returns a service object with the name.
Метод класса: WPCF7_Integration{}
Хуков нет.
Возвращает
WPCF7_Service|true|false
. The service object if it exists, false otherwise.
Использование
$WPCF7_Integration = new WPCF7_Integration(); $WPCF7_Integration->get_service( $name );
- $name(строка) (обязательный)
- The name of service.
Код WPCF7_Integration::get_service() WPCF7 Integration::get service CF7 5.7.5.1
public function get_service( $name ) { if ( $this->service_exists( $name ) ) { return $this->services[$name]; } else { return false; } }