<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>add_filter(ninja_forms_disable_marketing) caused Add New page to fail

[ad_1]

Replies: 1

Since the latest update (Ninja Forms version 3.8.2), my code below causes the Ninja Forms > Add New page to stop loading before showing any form types.

        // Hide purchased form templates.
        add_filter('ninja_forms_disable_marketing', function () {
            return true;
        });

URL that fails: https://mysite.com/childsite/wp-admin/admin.php?page=ninja-forms#new-form

Screenshot at https://www.awesomescreenshot.com/image/47271200?key=53770b97cbc6ca5d56f45a3ce875bfd2

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer