Title: Disable responsive version
Last modified: March 23, 2020

---

# Disable responsive version

 *  [elsappy](https://wordpress.org/support/users/elsappy/)
 * (@elsappy)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/disable-responsive-version/)
 * Hello,
    Is there a function I could add to my functions.php file to disable the
   wishlist mobile version ? Thanks for your help ! Regards

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/disable-responsive-version/#post-12577445)
 * Hi
 * Next version of the plugin will contain `yith_wcwl_is_wishlist_responsive` filter,
   for this purpose
 * Here an example of usage:
 *     ```
       add_filter( 'yith_wcwl_is_wishlist_responsive', '__return_false' );
       ```
   
 * Please, stay tuned with our update feed, in order to be informed about the release
   of the next version of the plugin
 *  [jayspaceman](https://wordpress.org/support/users/jayspaceman/)
 * (@jayspaceman)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/disable-responsive-version/#post-12761282)
 * Meanwhile you can go with
 *     ```
       add_filter( 'yith_wcwl_is_wishlist_responsive', '__return_false' );
       add_filter( 'yith_wcwl_localize_script', function($loc) {
           $loc['actions']['load_mobile_action'] = 'no-mob-ver';
       } );
       add_filter( 'yith_wcwl_template_part_hierarchy', function($data) {
           foreach($data as $k => $v) $data[$k] = str_replace('-mobile.php', '.php', $v);
           return $data;
       } );
       ```
   
 *  [jayspaceman](https://wordpress.org/support/users/jayspaceman/)
 * (@jayspaceman)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/disable-responsive-version/#post-12766162)
 * Sorry, add
    `return $loc;` after `$loc['actions']['load_mobile_action'] = 'no-
   mob-ver';`

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Disable responsive version’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-wishlist/assets/icon-128x128.gif?rev=3129302)
 * [YITH WooCommerce Wishlist](https://wordpress.org/plugins/yith-woocommerce-wishlist/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-wishlist/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [jayspaceman](https://wordpress.org/support/users/jayspaceman/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/disable-responsive-version/#post-12766162)
 * Status: not resolved