• Resolved erwanpia

    (@erwanpia)


    Hi my custom post type was not listed in the plugin admin screen, because it was initiated within the init hook, which is run after the plugin init

    sO i modified your plugin to integrate the admin interface code within the init hook :
    new Simple_Instant_Search();
    function is_admin_poleouest()
    {


    … and : ….
    add_action(‘init’,”is_admin_poleouest”,20);

    see what I mean ? this should be the occasion for a new version. well done anyway very useful

    https://www.ads-software.com/extend/plugins/simple-instant-search/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘add_action init’ is closed to new replies.