ok, finally i solved this with $_SESSION
.
How to get current URL in custom vbo action?
سؤال
I want to get values like foo, bar from a current page url like:
example.com/foo/bar
I've searched everywhere and tried
arg()
, request_path()
, current_path()
, and even $_SERVER
, all of this didn't work in my custom action with VBO, I thought this situation also didn't work with $_GET
.
Anyone can solve this?
المحلول
لا تنتمي إلى StackOverflow