Blocksy Content Blocks
-
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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Blocksy Content Blocks’ is closed to new replies.
