' ) ) { $msg = sprintf( __( 'Your ARVE Pro Addon is outdated, you need version %s or later. If you have setup your license here semi auto updates (Admin panel notice and auto install on confirmation) should work again. If not please report it and manually update as described here. I am sorry for the many manual updates with .zip file you had to do in the past. It came to my attention to late that this was actually not working, partly because customers bravely just did the manual update without saying a word. For beta versions the manual update is still needed but until this is supported by EDD (its in the works)', ARVE_SLUG ), ARVE_PRO_VERSION_REQUIRED, get_admin_url() . 'admin.php?page=nextgenthemes-licenses', 'https://nextgenthemes.com/support/', 'https://nextgenthemes.com/plugins/advanced-responsive-video-embedder-pro/documentation/installing-and-license-management/' ); new ARVE_Admin_Notice_Factory( 'arve-pro-outdated', "

$msg

", false ); } $pro_ad_message = arve_get_pro_ad(); if( $pro_ad_message ) { new ARVE_Admin_Notice_Factory( 'arve_dismiss_pro_notice', $pro_ad_message, true ); } } function arve_add_tinymce_plugin( $plugin_array ) { $plugin_array['arve'] = ARVE_ADMIN_URL . 'tinymce.js'; return $plugin_array; } function arve_get_pro_ad() { $inst = (int) get_option( 'arve_install_date' ); if ( ! current_user_can( 'update_plugins' ) || ! apply_filters( 'arve_pro_ad', true ) || current_time( 'timestamp' ) < strtotime( '+1 week', $inst ) ) { return false; } $pro_message = __( '

Hi, this is Nico(las Jonas) the author of the Advanced Responsive Video Embedder plugin. This plugin is my job, if you get easily offended by promotions on your admin please close this fast right now.

', ARVE_SLUG ); $pro_message .= file_get_contents( plugin_dir_path( dirname( __FILE__ ) ) . 'readme/html/20-description-features-pro.md.html' ); $pro_message = str_replace( '