New answers tagged

1

If you are targeting class method you need to pass an array where first argument is class instance and second is method name as string. Your add_shortcode line should look like this: add_shortcode($this->short_code_name, array($this, 'do_frontend_shortcode'));



Top 50 recent answers are included