• Resolved hellpunch

    (@hellpunch)


    Some snippets in the blocks aren’t being executed.

    For example, this simple one, with location ‘wp_head’ and display ‘my_account’ page:

    <?php
    add_filter( 'logout_redirect', 'logout_redirection', 10, 3 );
    function logout_redirection($location, $request, $user){
    return home_url();
    ?>
    }

    does absolutely nothing. I tried putting it on Code Snippets and it works as expected, when loggin out, it redirects me to the home page.

    The code itself is there on the page, i checked without the php tags and the plain text is displayed.

    • This topic was modified 4 years, 4 months ago by hellpunch.
    • This topic was modified 4 years, 4 months ago by hellpunch.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Blocksy Content Blocks’ is closed to new replies.