WP-Webrtc2 plugin

WebRTC2_Core
in package

Table of Contents

Properties

$pages_shortcode  : mixed

Methods

__construct()  : mixed
Constructor.
webrt2_search_shortcode()  : mixed
Search for pages on which the shortcode [webrtc2] is set.
webrtc2_admin_menu()  : mixed
Add menu page for admin panel.
webrtc2_check_settings()  : object
Sanitize options and start schedule_event if changed value option whois_service.
webrtc2_head_content()  : array<string|int, mixed>
Removes unnecessary styles if place_on_page = "place0" is selected.
webrtc2_hiden_profile_items()  : mixed
Since the client application works on mobile devices with a small screen, profile items hiden.
webrtc2_hiden_toolbar()  : mixed
Used for option: only video chat to page and for client application: Java client.
webrtc2_init()  : mixed
Common functions of plugin.
webrtc2_overview()  : mixed
Create and control page Overview.
webrtc2_plugin_meta()  : object
Adds the metadata displayed for the plugin to the plugins table.
webrtc2_redirectToHTTPS()  : mixed
Redirect to https.
webrtc2_registered_user()  : mixed
Adds 6 fields (time_zone,user_country_code,user_country_name, user_region,user_city,user_ip) to the user profile.
webrtc2_screen_options()  : mixed
Add help tabs of plugin.
webrtc2_servers()  : mixed
Create and control page Servers.
webrtc2_set_screen_option()  : object
Create and save screen settings of plugin.
webrtc2_setting_field1()  : mixed
Filling option1 (Duration of entries in call statistics table).
webrtc2_setting_field2()  : mixed
Filling option2 (Duration of video-chat).
webrtc2_setting_field3()  : mixed
Filling option3 (For the listed user name, video-chat will be prohibited).
webrtc2_setting_field4()  : mixed
Filling option4 (enabled for role:).
webrtc2_setting_field5()  : mixed
Filling option5 (WHO-IS service:).
webrtc2_setting_field6()  : mixed
Filling option6 (STUN server).
webrtc2_setting_field7()  : mixed
Filling option7 (TURN server).
webrtc2_setting_field8()  : mixed
Filling option8 (Appearance:).
webrtc2_setting_field9()  : mixed
Filling option9 (Place on page:).
webrtc2_settings()  : mixed
Create and control page Settings.
webrtc2_settings_sections()  : mixed
Add fields to page Settings of plugin.
webrtc2_statistic()  : mixed
Create and control page Statistic.
webrtc2_stun_chart()  : mixed
Create chart of stun servers.
webrtc2_stun_chart_data()  : array<string|int, mixed>
Receive data for chart of stun servers.
webrtc2_task_cron_schedule()  : string
Task Cron Schedule.
webrtc2_template_blank()  : mixed
Used for option: only video chat to page and for client application: Java client.
webrtc2_truncate_stat()  : mixed
Removes data in the 'call statistics' table when the retention period expires.
webrtc2_update_stun()  : mixed
Checking the current functioning of stun servers.
webrtc2_update_stun_repeat()  : mixed
Repeat the Stun servers list update.
webrtc2_user_contactmethods()  : object
Adds 6 fields (time_zone,user_country_code,user_country_name, user_region,user_city,user_ip) to the user profile.
webrtc2_users_online()  : mixed
Update 6 fields (time_zone,user_country_code,user_country_name, user_region,user_city,user_ip) to the user profile.
webrtc2_users_select()  : mixed
Selecting a contact list from a list of all registered users or from a custom contact list.
webrtc2_users_select_update()  : mixed
Update selecting a contact list from a list of all registered users or from a custom contact list.
webrtc2_viewport_tags()  : mixed
Add tag viewport on page.
webrtc2_edit_profile()  : mixed
Edit user profile.

Properties

Methods

webrt2_search_shortcode()

Search for pages on which the shortcode [webrtc2] is set.

public webrt2_search_shortcode() : mixed

webrtc2_admin_menu()

Add menu page for admin panel.

public webrtc2_admin_menu() : mixed

webrtc2_check_settings()

Sanitize options and start schedule_event if changed value option whois_service.

public webrtc2_check_settings(object $settings) : object
Parameters
$settings : object

Settings.

Return values
object

Settings.

webrtc2_head_content()

Removes unnecessary styles if place_on_page = "place0" is selected.

public webrtc2_head_content(array<string|int, mixed> $list) : array<string|int, mixed>
Parameters
$list : array<string|int, mixed>

An array of queued styles before being processed for output.

Return values
array<string|int, mixed>

An array of queued styles before being processed for output.

webrtc2_hiden_profile_items()

Since the client application works on mobile devices with a small screen, profile items hiden.

public webrtc2_hiden_profile_items() : mixed

webrtc2_hiden_toolbar()

Used for option: only video chat to page and for client application: Java client.

public webrtc2_hiden_toolbar() : mixed

Since the client application works on mobile devices with a small screen, wp toolbar hiden.

webrtc2_overview()

Create and control page Overview.

public webrtc2_overview() : mixed

webrtc2_plugin_meta()

Adds the metadata displayed for the plugin to the plugins table.

public webrtc2_plugin_meta(mixed $meta, string $file) : object
Parameters
$meta : mixed
$file : string

The path to the plugin file relative to the plugin directory.

Return values
object

$meta Items displayed in plugin data.

webrtc2_redirectToHTTPS()

Redirect to https.

public webrtc2_redirectToHTTPS() : mixed

webrtc2_registered_user()

Adds 6 fields (time_zone,user_country_code,user_country_name, user_region,user_city,user_ip) to the user profile.

public webrtc2_registered_user(string $user_id, string $userdata) : mixed
Parameters
$user_id : string

User id.

$userdata : string

User data.

webrtc2_screen_options()

Add help tabs of plugin.

public webrtc2_screen_options() : mixed

webrtc2_servers()

Create and control page Servers.

public webrtc2_servers() : mixed

webrtc2_set_screen_option()

Create and save screen settings of plugin.

public webrtc2_set_screen_option(string $screen_option, string $option, int $value) : object
Parameters
$screen_option : string

Screen options.

$option : string

Option.

$value : int

Value.

Return values
object

$value

webrtc2_setting_field1()

Filling option1 (Duration of entries in call statistics table).

public webrtc2_setting_field1() : mixed

webrtc2_setting_field2()

Filling option2 (Duration of video-chat).

public webrtc2_setting_field2() : mixed

webrtc2_setting_field3()

Filling option3 (For the listed user name, video-chat will be prohibited).

public webrtc2_setting_field3() : mixed

webrtc2_setting_field4()

Filling option4 (enabled for role:).

public webrtc2_setting_field4() : mixed

webrtc2_setting_field5()

Filling option5 (WHO-IS service:).

public webrtc2_setting_field5() : mixed

webrtc2_setting_field6()

Filling option6 (STUN server).

public webrtc2_setting_field6() : mixed

webrtc2_setting_field7()

Filling option7 (TURN server).

public webrtc2_setting_field7() : mixed

webrtc2_setting_field8()

Filling option8 (Appearance:).

public webrtc2_setting_field8() : mixed

webrtc2_setting_field9()

Filling option9 (Place on page:).

public webrtc2_setting_field9() : mixed

webrtc2_settings()

Create and control page Settings.

public webrtc2_settings() : mixed

webrtc2_settings_sections()

Add fields to page Settings of plugin.

public webrtc2_settings_sections() : mixed

webrtc2_statistic()

Create and control page Statistic.

public webrtc2_statistic() : mixed

webrtc2_stun_chart()

Create chart of stun servers.

public webrtc2_stun_chart() : mixed

webrtc2_stun_chart_data()

Receive data for chart of stun servers.

public webrtc2_stun_chart_data() : array<string|int, mixed>
Return values
array<string|int, mixed>

[[Records of live servers], Count servers live, Count servers all].

webrtc2_task_cron_schedule()

Task Cron Schedule.

public webrtc2_task_cron_schedule() : string
Return values
string

Task Cron Schedule.

webrtc2_template_blank()

Used for option: only video chat to page and for client application: Java client.

public webrtc2_template_blank(mixed $template) : mixed

Since the client application works on mobile devices with a small screen, all unnecessary content into is removed from the video chat page and only the shortcode remains.

Parameters
$template : mixed

webrtc2_truncate_stat()

Removes data in the 'call statistics' table when the retention period expires.

public webrtc2_truncate_stat() : mixed

webrtc2_update_stun()

Checking the current functioning of stun servers.

public webrtc2_update_stun() : mixed

webrtc2_update_stun_repeat()

Repeat the Stun servers list update.

public webrtc2_update_stun_repeat() : mixed

webrtc2_user_contactmethods()

Adds 6 fields (time_zone,user_country_code,user_country_name, user_region,user_city,user_ip) to the user profile.

public webrtc2_user_contactmethods(string $user_contact) : object
Parameters
$user_contact : string

Registered user.

Return values
object

$user_contact

webrtc2_users_online()

Update 6 fields (time_zone,user_country_code,user_country_name, user_region,user_city,user_ip) to the user profile.

public webrtc2_users_online(string $user_login, string $user) : mixed

Clear webrtc2_users_online option.

Parameters
$user_login : string

User login.

$user : string

User.

webrtc2_users_select()

Selecting a contact list from a list of all registered users or from a custom contact list.

public webrtc2_users_select(mixed $user) : mixed
Parameters
$user : mixed

webrtc2_users_select_update()

Update selecting a contact list from a list of all registered users or from a custom contact list.

public webrtc2_users_select_update(mixed $user_id) : mixed
Parameters
$user_id : mixed

webrtc2_viewport_tags()

Add tag viewport on page.

public webrtc2_viewport_tags() : mixed

webrtc2_edit_profile()

Edit user profile.

private webrtc2_edit_profile(int $user_id) : mixed
Parameters
$user_id : int

User ID.


        
On this page

Search results