GCALENDAR_ADDEVENT::get_formatted_code( string $option_code = '' )
Get formatted code.
Contents
Parameters Parameters
- $option_code
-
(Optional) The option code.
Default value: ''
Return Return
(string) The prefix underscore option code string.
Source Source
File: src/integrations/google-calendar/actions/gcalendar-addevent.php
protected function get_formatted_code( $option_code = '' ) { return sprintf( '%1$s_%2$s', self::PREFIX, $option_code ); }
Expand full source code Collapse full source code View on Github