• Resolved Niki Bilejn

    (@niki-bilejn)


    After I add TGM plugin files to my theme I getting this error:

    REQUIRED: class-tgm-plugin-activation.php. Themes should use add_theme_page() for adding admin pages.

    Line 641: $this->page_hook = call_user_func( ‘add_submenu_page’, $args[‘parent_slug’], $args[‘page_title’], $args[‘menu_t

    Is there any example how to fix this. Think that theme will not pass review with this error.

    Best Regards

    https://wordpress.org/plugins/theme-check/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘TGM plugin activation’ is closed to new replies.