Visibilety Condition For Query Count

Hi @T-low,

You don’t need to register a filter for this, simply define the function you want to call:

function _return_query_id() {
    return true;
}

Also, please see this tip to choose the optimal way for you to define your custom code for your specific requirements:

1 Like