• Resolved derjac

    (@derjac)


    Hi,

    Is there a filter to increase the number limitation (18) of URLs to be whitelisted?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • @derjac

    /**
     * UM hook
     *
     * @type filter
     * @title um_get_option_filter__{$option_id}
     * @description Change UM option on get by $option_id
     * @input_vars
     * [{"var":"$option","type":"array","desc":"Option Value"}]
     * @change_log
     * ["Since: 2.0"]
     * @usage
     * <?php add_filter( 'um_get_option_filter__{$option_id}', 'function_name', 10, 1 ); ?>
     * @example
     * <?php
     * add_filter( 'um_get_option_filter__{$option_id}', 'my_get_option_filter', 10, 1 );
     * function my_get_option_filter( $option ) {
     *     // your code here
     *     return $option;
     * }
     * ?>
     */

    UM Core Script: class-options.php
    $option_id: 'access_exclude_uris'

    add_filter( 'um_get_option_filter__access_exclude_uris', 'my_get_option_filter', 10, 1 );
    function my_get_option_filter( $option ) {
      // your code here
      $option[] = 'https://yourdomain.com/um-page-xx/';
      // etc
      return $option;
    }
    Plugin Support andrewshu

    (@andrewshu)

    Hi @derjac

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. 🙂

    Regards

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

The topic ‘Exclude URLs Limitation’ is closed to new replies.