Display Frontend Settings

wpscont/frontend/display_settings

Description:
Filter if you want to display the frontend buttons. This currently includes the crawl button. This filter is useful if you want to give the permission of using the button just to specific users.

Parameter Type Description
$display bool true if the user is permitted
        /**
         * Use this hook if you want to customize the permission for displaying the frontend button.
         */
        $display_settings = apply_filters('wpscont/frontend/display_settings', $display);

Source:
wp-content/plugins/wp-shortcode-control/core/includes/classes/run.php

Was this article helpful?

Related Articles