Filters Not Working
-
Good Day!
We need assistance on how to use your filters. We tried two of them and they are not working.
(1) Filter for stopping the animation inside your dashboard
We added your filter below to our functions.php file via Code Snippets but the animation is still on. What are we doing wrong?
function analytify_dashboard_head_animate_cb( $condition ) { return false; } add_filter( 'analytify_dashboard_head_animate', 'analytify_dashboard_head_animate_cb' );
(2) Email filter for websites that have a custom login URL
As reported in another forum topic, it worked at first only because our browser had cached the original (wp-admin) link from a previous website login session. When we cleared our browser cache, we were directed to a 404 page as expected since we’re using a custom login URL.
function analytify_email_dashboard_url_cb( $url ) { $url = 'your-url.com'; return $url; } add_filter( 'analytify_email_dashboard_url', 'analytify_email_dashboard_url_cb' );
Based on the above, can you please explain better the filter’s term:
your-url.com
? Did you test your filter using browsers in both standard and incognito modes with all cache cleared?We used the following as
your-url.com
but the filter still didn’t work:mywebsite.com/customlogin
mywebsite.com/customlogin?redirect_to=https%3A%2F%2Fwww.omniaaerospace.com%2Fwp-admin%2Fadmin.php%3Fpage%3analytify-dashboard
https://www.mywebsite.com/customlogin
https://www.mywebsite.com/customlogin?redirect_to=https%3A%2F%2Fwww.omniaaerospace.com%2Fwp-admin%2Fadmin.php%3Fpage%3analytify-dashboard
Where
customlogin
is our custom login URL term.Help appreciated!
Reference:
https://www.ads-software.com/support/topic/need-filter-for-analytifys-email-report-footer-link/
- The topic ‘Filters Not Working’ is closed to new replies.