add_action(‘woocommerce_before_customer_login_form’, ‘custom_login_message’); function custom_login_message() { echo ‘ Welcome! Please log in to access your account. Note: A valid subscription is required to access your account. ‘; }Continue reading
/* 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
//* 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_filter(‘gutenberg_can_edit_post’, ‘__return_false’, 5); add_filter(‘use_block_editor_for_post’, ‘__return_false’, 5);Continue reading
[[“Log in to recommend notes that understand you better”,”Available”,”Little Red Book”,”or”,”WeChat”,”Scan the QR code”,”How to scan code on Xiaohongshu”,”or”,”+86″,”New users can log in directly”,”recommend”,”Recommend more exciting things for you”,”Outfit”,”gourmet food”,”Makeup”,”Film and Television”,”Workplace”,”emotion”,”Home”,”game”,”travel”,”fitness”,”\u003ca i=0\u003eWhen I was a kid, my dad said…Continue reading
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
add_filter( ‘login_display_language_dropdown’, ‘__return_false’ );Continue reading
function mepr_cust_tax_rate( $tax_rate, $country, $prd_id ) { // If Membership ID 14 and country is Germany ‘DE’ if ( $prd_id === 123 && $country === ‘DE’ ) { $tax_rate->tax_rate = 0; // Set tax rate to 0 } return $tax_rate;…Continue reading
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
// Add custom JavaScript to display a message before the payment method icons function add_payment_method_message() { ?>Continue reading