PHP Class RTMediaAdmin, rtMedia

Afficher le fichier Open project: rtCamp/rtMedia Class Usage Examples

Méthodes publiques

Свойство Type Description
$rtmedia_encoding
$rtmedia_feed
$rtmedia_settings
$rtmedia_support
$rtmedia_upgrade

Méthodes publiques

Méthode 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 méthode

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

add_dashboard_widgets() public méthode

Create the function use in the action hook
public add_dashboard_widgets ( ) : void
Résultat void

addons_page() public méthode

Render the BuddyPress Media Addons page.
public addons_page ( ) : void
Résultat void

admin_bar_menu() public méthode

Add admin bar menu
public admin_bar_menu ( object $admin_bar ) : void
$admin_bar object
Résultat void

admin_sidebar() public méthode

Admin Sidebar
public admin_sidebar ( ) : void
Résultat void

bp_admin_tabs() public méthode

Show buddypress admin tabs.
public bp_admin_tabs ( ) : void
Résultat void

check_for_addon_update_notice() public méthode

Show rtmedia addon update notice.
public check_for_addon_update_notice ( ) : boolean
Résultat boolean $return_falg

convert_videos_mailchimp_send() public méthode

convert_videos_page() public méthode

Render the rtmedia convert videos page.
public convert_videos_page ( ) : void
Résultat void

correct_upload_filetypes() public méthode

get_current_tab() static public méthode

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

hire_us_page() public méthode

Render the rtmedia hire us page.
public hire_us_page ( ) : void
Résultat void

install_transcoder_admin_notice() public méthode

Display admin notice.

install_transcoder_hide_admin_notice() public méthode

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

license_page() public méthode

public license_page ( )

linkback() public méthode

public linkback ( )

menu() public méthode

Add Admin Menu.
public menu ( ) : void
Résultat void

privacy_page() public méthode

Render the BuddyPress Privacy Settings page.
public privacy_page ( ) : void
Résultat void

removable_query_args() public méthode

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
Résultat array $removable_query_args

render_admin_ui() public static méthode

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

render_page() public méthode

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

rt_importer_page() public méthode

Render the rtmedia Importer Page.
public rt_importer_page ( ) : void
Résultat void

rtm_addon_license_notice() public méthode

Display invlaid license notice to admins.
Since: 4.1.7
public rtm_addon_license_notice ( ) : void
Résultat void

rtm_admin_templates() public méthode

public rtm_admin_templates ( )

rtmedia_addon_license_save_hook() public méthode

rtmedia_addon_update_notice() public méthode

Define rtmedia addon update notice.
public rtmedia_addon_update_notice ( ) : void
Résultat void

rtmedia_admin_notices() public méthode

Show rtmedia admin notices.
public rtmedia_admin_notices ( ) : void
Résultat void

rtmedia_advertisement() public méthode

Show rtmedia advertisement.
public rtmedia_advertisement ( ) : void
Résultat void

rtmedia_bp_add_update_type() public méthode

Set rtmedia buddypress update type.
public rtmedia_bp_add_update_type ( ) : void
Résultat void

rtmedia_dashboard_widget_function() public méthode

Create the function to output the contents of our Dashboard Widget

rtmedia_hide_addon_update_notice() public méthode

Hide rtmedia addon update notice.
public rtmedia_hide_addon_update_notice ( ) : void
Résultat void

rtmedia_hide_inspirebook_release_notice() public méthode

Hide rtmedia inspirebook release notice.

rtmedia_hide_premium_addon_notice() public méthode

* Hide pro split release notice

rtmedia_hide_template_override_notice() public méthode

rtmedia_inspirebook_release_notice() public méthode

Show rtmedia inspirebook release notice.

rtmedia_migration() public méthode

public rtmedia_migration ( )

rtmedia_network_admin_notices() public méthode

Show rtmedia network admin notices.
public rtmedia_network_admin_notices ( ) : void
Résultat void

rtmedia_premium_addon_notice() public méthode

* rtMedia Pro split release admin notice

rtmedia_tabs() public méthode

Create core admin tabs.
public rtmedia_tabs ( ) : void
Résultat void

rtmedia_update_template_notice() public méthode

save_multisite_options() public méthode

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

settings_content_tabs() public méthode

Create settings content tabs.
public settings_content_tabs ( string $page ) : void
$page string
Résultat void

settings_page() public méthode

Render the BuddyPress Media Settings page.
public settings_page ( ) : void
Résultat void

settings_sub_tabs() public méthode

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

support_page() public méthode

Render the BuddyPress Media Support page.
public support_page ( ) : void
Résultat void

tab() public méthode

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

theme_page() public méthode

Render the rtmedia theme page.
public theme_page ( ) : void
Résultat void

ui() public méthode

Generates the Admin UI.
public ui ( string $hook ) : void
$hook string
Résultat void

upload_filetypes_error() public méthode

video_transcoding_survey_response() public méthode

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