PPMX Security Essentials [PUSH]

/* WordPress Sitemap deaktivieren BEGIN */ add_filter( ‘wp_sitemaps_enabled’, ‘__return_false’ ); /* WordPress Sitemap deaktivieren END */ /* WordPress Autoupdates deaktivieren BEGIN */ if ( ! defined( ‘AUTOMATIC_UPDATER_DISABLED’ ) ) { define( ‘AUTOMATIC_UPDATER_DISABLED’, true ); } /* WordPress Autoupdates deaktivieren END…Continue reading

FC – [*] – Optimizaciones varias

//* Deshabilita la etiqueta de generator add_filter(‘the_generator’, ‘__return_empty_string’); //* Evitar que se sobreescriban temas al actualizar define( ‘CORE_UPGRADE_SKIP_NEW_BUNDLED’, true ); //* Deshabilitar links update_option( ‘link_manager_enabled’, 0 );Continue reading

add-custom-user-settings-tab

function my_custom_user_settings_tab() { // create the Custom Tab in the settings navigation bp_core_new_subnav_item( array( ‘name’ => __( ‘Language’, ‘buddyboss-theme’ ), // Replace ‘Custom Tab’ with the name of your tab ‘slug’ => ‘platform-language’, // Change this to your desired slug…Continue reading

MemberPress: Change Courses Listing Page Link

add_filter( ‘post_type_archive_link’, function ( $link, $post_type ) { if ( $post_type == ‘mpcs-course’ ) { $link = home_url() . ‘/courses/’; //replace the word courses with the custom page or post slug } return $link; }, 10, 2 );Continue reading