the answer for all question about Oxygen Builder plugin and WordPress

Good morning at all. I have some perplexity about dynamic data-> function ret

Good morning at all. I have some perplexity about dynamic data-> function return value.

1) in my plugin I have the functions under namespace and Oxygen seems not see them (for example SellCoursesAddonStudenthas_permission)

2) function test(){if (is_user_logged_in() && current_user_can(‘manage_options’)) {return true;}}
in Oxygen test == true does not work but
function test(){if (is_user_logged_in() && current_user_can(‘manage_options’)) {return 3;}}
in Oxygen test == 3 works

Have you advice about this?



Source

Leave A Reply

Your email address will not be published.