1c_signup', 'tve_form_type', 'tvd_login_edit', 'tve_global_cond_set', 'tve_cond_display', 'tve_lead_2s_lightbox', 'tcb_symbol', 'td_nm_notification', 'tvd_content_set', 'tve_saved_lp', 'tve_notifications', 'tve_user_template', 'tve_video_data', 'tva_course_type', 'tva-acc-restriction', 'tva_course_overview', 'tve_ult_schedule', 'tqb_optin', 'tqb_splash', 'tva_certificate', 'tva_course_overview', // BuddyPress post types. BuddyPressIntegration::getEmailCptSlug() ]; foreach ( $postTypes as $index => $postType ) { if ( is_string( $postType ) && in_array( $postType, $postTypesToRemove, true ) ) { unset( $postTypes[ $index ] ); continue; } if ( is_array( $postType ) && in_array( $postType['name'], $postTypesToRemove, true ) ) { unset( $postTypes[ $index ] ); } } return array_values( $postTypes ); } /** * Filters out taxonomies that aren't really public when getPublicTaxonomies() is called. * * @since 4.2.4 * * @param array[object]|array[string] $taxonomies The taxonomies. * @return array[object]|array[string] The filtered taxonomies. */ public function removeInvalidPublicTaxonomies( $taxonomies ) { $taxonomiesToRemove = [ 'fusion_tb_category', 'element_category', 'template_category', // Thrive Themes internal taxonomies. 'tcb_symbols_tax' ]; foreach ( $taxonomies as $index => $taxonomy ) { if ( is_string( $taxonomy ) && in_array( $taxonomy, $taxonomiesToRemove, true ) ) { unset( $taxonomies[ $index ] ); continue; } if ( is_array( $taxonomy ) && in_array( $taxonomy['name'], $taxonomiesToRemove, true ) ) { unset( $taxonomies[ $index ] ); } } return array_values( $taxonomies ); } /** * Disable Jetpack sitemaps module. * * @since 4.2.2 */ public function disableJetpackSitemaps( $active ) { unset( $active['sitemaps'] ); return $active; } /** * Dequeues third-party scripts from the other plugins or themes that crashes our menu pages. * * @since 4.1.9 * @version 4.3.1 * * @return void */ public function dequeueThirdPartyAssets() { // TagDiv Opt-in Builder plugin. wp_dequeue_script( 'tds_js_vue_files_last' ); // MyListing theme. if ( function_exists( 'mylisting' ) ) { wp_dequeue_script( 'vuejs' ); wp_dequeue_script( 'theme-script-vendor' ); wp_dequeue_script( 'theme-script-main' ); } // Voxel theme. if ( class_exists( '\Voxel\Controllers\Assets_Controller' ) ) { wp_dequeue_script( 'vue' ); wp_dequeue_script( 'vx:backend.js' ); } // Meta tags for seo plugin. if ( class_exists( '\Pagup\MetaTags\Settings' ) ) { wp_dequeue_script( 'pmt__vuejs' ); wp_dequeue_script( 'pmt__script' ); } // Plugin: Wpbingo Core (By TungHV). if ( strpos( wp_styles()->query( 'bwp-lookbook-css' )->src ?? '', 'wpbingo' ) !== false ) { wp_dequeue_style( 'bwp-lookbook-css' ); } } /** * Dequeues third-party scripts from the other plugins or themes that crashes our menu pages. * * @version 4.3.2 * * @return void */ public function dequeueThirdPartyAssetsEarly() { // Disables scripts for plugins StmMotorsExtends and StmPostType. if ( class_exists( 'STM_Metaboxes' ) ) { remove_action( 'admin_enqueue_scripts', [ 'STM_Metaboxes', 'wpcfto_scripts' ] ); } // Disables scripts for LearnPress plugin. if ( function_exists( 'learn_press_admin_assets' ) ) { remove_action( 'admin_enqueue_scripts', [ learn_press_admin_assets(), 'load_scripts' ] ); } } /** * Removes the duplicate meta description tag from the Hello Elementor theme. * * @since 4.4.3 * * @link https://developers.elementor.com/docs/hello-elementor-theme/hello_elementor_add_description_meta_tag/ * * @return void */ public function removeHelloElementorDescriptionTag() { remove_action( 'wp_head', 'hello_elementor_add_description_meta_tag' ); } /** * Removes the Avada OG tags. * * @since 4.6.5 * * @return void */ public function removeAvadaOgTags() { if ( function_exists( 'Avada' ) ) { $avada = Avada(); if ( is_object( $avada->head ?? null ) ) { remove_action( 'wp_head', [ $avada->head, 'insert_og_meta' ], 5 ); } } } /** * Prevent WP-Optimize from deleting our tables. * * @since 4.4.5 * * @param array $tables List of tables. * @return array Filtered tables. */ public function wpOptimizeAioseoTables( $tables ) { foreach ( $tables as &$table ) { if ( is_object( $table ) && property_exists( $table, 'Name' ) && false !== stripos( $table->Name, 'aioseo_' ) ) { $table->is_using = true; $table->can_be_removed = false; } } return $tables; } /** * Defines specific meta fields for WPML so character limits can be applied when auto-translating fields. * * @since 4.8.3.2 * * @param array $fields The fields. * @return array The modified fields. */ public function defineMetaFieldsForWpml( $fields ) { foreach ( $fields as &$field ) { if ( empty( $field['field_type'] ) ) { continue; } $fieldKey = strtolower( preg_replace( '/^(field-)(.*)(-0)$/', '$2', $field['field_type'] ) ); switch ( $fieldKey ) { case '_aioseo_title': $field['purpose'] = 'seo_title'; break; case '_aioseo_description': $field['purpose'] = 'seo_meta_description'; break; } } return $fields; } }
Fatal error: Uncaught Error: Class 'AIOSEO\Plugin\Common\Main\Filters' not found in /home/kordian1/domains/ostrabrama.pl/public_html/wp-content/plugins/all-in-one-seo-pack/app/Lite/Main/Filters.php:16 Stack trace: #0 /home/kordian1/domains/ostrabrama.pl/public_html/wp-content/plugins/all-in-one-seo-pack/vendor/composer/ClassLoader.php(576): include() #1 /home/kordian1/domains/ostrabrama.pl/public_html/wp-content/plugins/all-in-one-seo-pack/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/home/kordian1/...') #2 [internal function]: Composer\Autoload\ClassLoader->loadClass('AIOSEO\\Plugin\\L...') #3 /home/kordian1/domains/ostrabrama.pl/public_html/wp-content/plugins/all-in-one-seo-pack/app/AIOSEO.php(332): spl_autoload_call('AIOSEO\\Plugin\\L...') #4 /home/kordian1/domains/ostrabrama.pl/public_html/wp-content/plugins/all-in-one-seo-pack/app/AIOSEO.php(106): AIOSEO\Plugin\AIOSEO->load() #5 /home/kordian1/domains/ostrabrama.pl/public_html/wp-content/plugins/all-in-one-seo-pack/app/AIOSEO.php(85): AIOSEO\Plu in /home/kordian1/domains/ostrabrama.pl/public_html/wp-content/plugins/all-in-one-seo-pack/app/Lite/Main/Filters.php on line 16