PHP Class RTMediaAdmin, rtMedia

Datei anzeigen Open project: rtCamp/rtMedia Class Usage Examples

Public Properties

Property Type Description
$rtmedia_encoding
$rtmedia_feed
$rtmedia_settings
$rtmedia_support
$rtmedia_upgrade

Public Methods

Method Description
__construct ( ) Constructor - get the plugin hooked in and ready
add_dashboard_widgets ( ) : void Create the function use in the action hook
addons_page ( ) : void Render the BuddyPress Media Addons page.
admin_bar_menu ( object $admin_bar ) : void Add admin bar menu
admin_sidebar ( ) : void Admin Sidebar
bp_admin_tabs ( ) : void Show buddypress admin tabs.
check_for_addon_update_notice ( ) : boolean Show rtmedia addon update notice.
check_permalink_admin_notice ( ) : void Show rtmedia check permalink admin notice.
convert_videos_mailchimp_send ( )
convert_videos_page ( ) : void Render the rtmedia convert videos page.
correct_upload_filetypes ( )
get_current_tab ( ) : string | array Render the rtmedia hire us page.
hire_us_page ( ) : void Render the rtmedia hire us page.
install_transcoder_admin_notice ( ) Display admin notice.
install_transcoder_hide_admin_notice ( ) Set option to hide admin notice when user click on dismiss button.
license_page ( )
linkback ( )
menu ( ) : void Add Admin Menu.
modify_medialibrary_permalink ( $action, $post )
plugin_add_settings_link ( array $links ) : array Add the plugin settings links
plugin_meta_premium_addon_link ( $plugin_meta, $plugin_file )
privacy_page ( ) : void Render the BuddyPress Privacy Settings page.
removable_query_args ( $removable_query_args ) : array To remove setting saved parameter from url once satting saved Add parameter to this array WP will remove variable from Query string
render_admin_ui ( $page, $sub_tabs, $args = [] )
render_page ( string $page, array $option_group = null ) : void Render BPMedia Settings.
rt_importer_page ( ) : void Render the rtmedia Importer Page.
rtm_addon_license_notice ( ) : void Display invlaid license notice to admins.
rtm_admin_templates ( )
rtmedia_addon_license_save_hook ( )
rtmedia_addon_update_notice ( ) : void Define rtmedia addon update notice.
rtmedia_admin_notices ( ) : void Show rtmedia admin notices.
rtmedia_advertisement ( ) : void Show rtmedia advertisement.
rtmedia_bp_add_update_type ( ) : void Set rtmedia buddypress update type.
rtmedia_dashboard_widget_function ( ) : void Create the function to output the contents of our Dashboard Widget
rtmedia_hide_addon_update_notice ( ) : void Hide rtmedia addon update notice.
rtmedia_hide_inspirebook_release_notice ( ) : void Hide rtmedia inspirebook release notice.
rtmedia_hide_premium_addon_notice ( ) * Hide pro split release notice
rtmedia_hide_template_override_notice ( )
rtmedia_inspirebook_release_notice ( ) : void Show rtmedia inspirebook release notice.
rtmedia_migration ( )
rtmedia_network_admin_notices ( ) : void Show rtmedia network admin notices.
rtmedia_permalink_notice ( ) : void Define rtmedia permalink notice.
rtmedia_premium_addon_notice ( ) * rtMedia Pro split release admin notice
rtmedia_tabs ( ) : void Create core admin tabs.
rtmedia_update_template_notice ( )
save_multisite_options ( ) : void Multisite Save Options - http://wordpress.stackexchange.com/questions/64968/settings-api-in-multisite-missing-update-message#answer-72503
settings_content_tabs ( string $page ) : void Create settings content tabs.
settings_page ( ) : void Render the BuddyPress Media Settings page.
settings_sub_tabs ( ) : array Adds a sub tabs to the BuddyPress Media settings page
support_page ( ) : void Render the BuddyPress Media Support page.
tab ( ) : string Adds a tab for Media settings in the BuddyPress settings page
theme_page ( ) : void Render the rtmedia theme page.
ui ( string $hook ) : void Generates the Admin UI.
upload_filetypes_error ( )
video_transcoding_survey_response ( )

Method Details

__construct() public method

Constructor - get the plugin hooked in and ready
public __construct ( )

add_dashboard_widgets() public method

Create the function use in the action hook
public add_dashboard_widgets ( ) : void
return void

addons_page() public method

Render the BuddyPress Media Addons page.
public addons_page ( ) : void
return void

admin_bar_menu() public method

Add admin bar menu
public admin_bar_menu ( object $admin_bar ) : void
$admin_bar object
return void

admin_sidebar() public method

Admin Sidebar
public admin_sidebar ( ) : void
return void

bp_admin_tabs() public method

Show buddypress admin tabs.
public bp_admin_tabs ( ) : void
return void

check_for_addon_update_notice() public method

Show rtmedia addon update notice.
public check_for_addon_update_notice ( ) : boolean
return boolean $return_falg

convert_videos_mailchimp_send() public method

convert_videos_page() public method

Render the rtmedia convert videos page.
public convert_videos_page ( ) : void
return void

correct_upload_filetypes() public method

get_current_tab() static public method

Render the rtmedia hire us page.
static public get_current_tab ( ) : string | array
return string | array | array

hire_us_page() public method

Render the rtmedia hire us page.
public hire_us_page ( ) : void
return void

install_transcoder_admin_notice() public method

Display admin notice.

install_transcoder_hide_admin_notice() public method

Set option to hide admin notice when user click on dismiss button.

license_page() public method

public license_page ( )

linkback() public method

public linkback ( )

menu() public method

Add Admin Menu.
public menu ( ) : void
return void

privacy_page() public method

Render the BuddyPress Privacy Settings page.
public privacy_page ( ) : void
return void

removable_query_args() public method

To remove setting saved parameter from url once satting saved Add parameter to this array WP will remove variable from Query string
public removable_query_args ( $removable_query_args ) : array
$removable_query_args
return array $removable_query_args

render_admin_ui() public static method

public static render_admin_ui ( $page, $sub_tabs, $args = [] )

render_page() public method

Render BPMedia Settings.
public render_page ( string $page, array $option_group = null ) : void
$page string
$option_group array
return void

rt_importer_page() public method

Render the rtmedia Importer Page.
public rt_importer_page ( ) : void
return void

rtm_addon_license_notice() public method

Display invlaid license notice to admins.
Since: 4.1.7
public rtm_addon_license_notice ( ) : void
return void

rtm_admin_templates() public method

public rtm_admin_templates ( )

rtmedia_addon_license_save_hook() public method

rtmedia_addon_update_notice() public method

Define rtmedia addon update notice.
public rtmedia_addon_update_notice ( ) : void
return void

rtmedia_admin_notices() public method

Show rtmedia admin notices.
public rtmedia_admin_notices ( ) : void
return void

rtmedia_advertisement() public method

Show rtmedia advertisement.
public rtmedia_advertisement ( ) : void
return void

rtmedia_bp_add_update_type() public method

Set rtmedia buddypress update type.
public rtmedia_bp_add_update_type ( ) : void
return void

rtmedia_dashboard_widget_function() public method

Create the function to output the contents of our Dashboard Widget

rtmedia_hide_addon_update_notice() public method

Hide rtmedia addon update notice.

rtmedia_hide_inspirebook_release_notice() public method

Hide rtmedia inspirebook release notice.

rtmedia_hide_premium_addon_notice() public method

* Hide pro split release notice

rtmedia_hide_template_override_notice() public method

rtmedia_inspirebook_release_notice() public method

Show rtmedia inspirebook release notice.

rtmedia_migration() public method

public rtmedia_migration ( )

rtmedia_network_admin_notices() public method

Show rtmedia network admin notices.

rtmedia_premium_addon_notice() public method

* rtMedia Pro split release admin notice

rtmedia_tabs() public method

Create core admin tabs.
public rtmedia_tabs ( ) : void
return void

rtmedia_update_template_notice() public method

save_multisite_options() public method

Multisite Save Options - http://wordpress.stackexchange.com/questions/64968/settings-api-in-multisite-missing-update-message#answer-72503
public save_multisite_options ( ) : void
return void

settings_content_tabs() public method

Create settings content tabs.
public settings_content_tabs ( string $page ) : void
$page string
return void

settings_page() public method

Render the BuddyPress Media Settings page.
public settings_page ( ) : void
return void

settings_sub_tabs() public method

Adds a sub tabs to the BuddyPress Media settings page
public settings_sub_tabs ( ) : array
return array $tabs

support_page() public method

Render the BuddyPress Media Support page.
public support_page ( ) : void
return void

tab() public method

Adds a tab for Media settings in the BuddyPress settings page
public tab ( ) : string
return string $tabs_html

theme_page() public method

Render the rtmedia theme page.
public theme_page ( ) : void
return void

ui() public method

Generates the Admin UI.
public ui ( string $hook ) : void
$hook string
return void

upload_filetypes_error() public method

video_transcoding_survey_response() public method

Property Details

$rtmedia_encoding public_oe property

public $rtmedia_encoding

$rtmedia_feed public_oe property

public $rtmedia_feed

$rtmedia_settings public_oe property

public $rtmedia_settings

$rtmedia_support public_oe property

public $rtmedia_support

$rtmedia_upgrade public_oe property

public $rtmedia_upgrade