Remove WordPress Backend Dashboard Widgets

remove-dashboard-widgets

…Quick Press widget remove_meta_box(‘dashboard_recent_drafts’,’dashboard’,’side’); // Recent Drafts remove_meta_box(‘dashboard_secondary’,’dashboard’,’side’); // Other WordPress News remove_meta_box(‘dashboard_incoming_links’,’dashboard’,’normal’); //Incoming Links remove_meta_box(‘rg_forms_dashboard’,’dashboard’,’normal’); // Gravity Forms remove_meta_box(‘dashboard_recent_comments’,’dashboard’,’normal’); // Recent Comments remove_meta_box(‘icl_dashboard_widget’,’dashboard’,’normal’); // Multi Language Plugin remove_meta_box(‘dashboard_activity’,’dashboard’, ‘normal’);…

Read More

Rename Home name and link in WooCommerce Breadcrumbs

Change Woocommerce Breadcrumb

…Change WooCommerce Home URL in Breadcrumb For the URL… add_filter( ‘woocommerce_breadcrumb_home_url’, ‘prefix_custom_breadrumb_home_url’ ); /** * Replace the home link URL in WooCommerce breadcrumb */ function prefix_custom_breadrumb_home_url() { return ‘https://example.com.au/mynew-url/’; }…

Read More

Changing the WooCommerce coupon text in cart and checkout pages

Woocommerce Change Coupon Code Text

…add_filter( ‘woocommerce_cart_totals_coupon_label’, ‘bt_rename_coupon_label’,10, 1 ); add_filter( ‘woocommerce_checkout_coupon_message’, ‘bt_rename_coupon_message_on_checkout’ ); /** * WooCommerce * Change Coupon Text * @param string $text * @return string * @link https://gist.github.com/maxrice/8551024 */ function bt_rename_coupon_field_on_cart( $translated_text,…

Read More