Trang chủ Blog Website Share Code Flatsome Hướng dẫn tắt UXbuilder ở 1 số post type

Hướng dẫn tắt UXbuilder ở 1 số post type

Screen Shot 2022 12 16 at 21.20.58

Có 1 số trường hợp khi muốn ẩn trình UX Builder của Flatsome tại post type thì việc đơn giản bạn chỉ cần thêm code bên dưới vào function.php

add_action('init', 'isures_remove_uxbuilder_post_type', 20);
function isures_remove_uxbuilder_post_type(){
    if (function_exists('remove_ux_builder_post_type')) {
        remove_ux_builder_post_type('product');
    }
}
5/5 - (101 bình chọn)
Bài viết liên quan