/* Start Remove Video Submit Functions */ remove_action( 'init', array( \JNEWS_VIDEO\Frontend\Frontend_Video_Endpoint::getInstance(), 'setup_init' ) ); remove_filter( 'jnews_frontend_submit_add_page_template', array( \JNEWS_VIDEO\Frontend\Frontend_Video_Endpoint::getInstance(), 'page_template' ) ); remove_action( 'jnews_account_right_content', array( \JNEWS_VIDEO\Frontend\Frontend_Video_Endpoint::getInstance(), 'get_right_content' ) ); remove_action( 'jnews_after_account_nav', array( \JNEWS_VIDEO\Frontend\Frontend_Video_Endpoint::getInstance(), 'after_account_nav' ) ); remove_action( 'delete_attachment', array( \JNEWS_VIDEO\Frontend\Frontend_Video_Endpoint::getInstance(), 'disable_delete_attachment' ) ); remove_filter( 'jnews_account_page_endpoint', array( \JNEWS_VIDEO\Frontend\Frontend_Video_Endpoint::getInstance(), 'account_page_endpoint' ) ); /* put this code before init */ remove_filter( 'ajax_query_attachments_args', array( \JNEWS_VIDEO\Frontend\Frontend_Video_Endpoint::getInstance(), 'filter_user_media' ) ); remove_filter( 'media_view_strings', array( \JNEWS_VIDEO\Frontend\Frontend_Video_Endpoint::getInstance(), 'remove_media_tab' ) ); remove_filter( 'upload_size_limit', array( \JNEWS_VIDEO\Frontend\Frontend_Video_Endpoint::getInstance(), 'upload_size_limit' ) ); remove_filter( 'jnews_maxsize_upload_featured_gallery', array( \JNEWS_VIDEO\Frontend\Frontend_Video_Endpoint::getInstance(), 'maxupload_size' ) ); remove_filter( 'jnews_maxsize_upload_featured_image', array( \JNEWS_VIDEO\Frontend\Frontend_Video_Endpoint::getInstance(), 'maxupload_size' ) ); /* END Remove Video Submit Functions */