• Resolved David Rozando

    (@daviedr)


    Hi guys, I think we need new filters for the create_plugin_page text string.

    $this->plugin_page = add_theme_page( 'One Click Demo Import', 'Import Demo Data', 'import', 'pt-one-click-demo-import', array( $this, 'display_plugin_page' ) );

    It would be great if we can choose parent_slug page, e.g. themes.php or our custom page.

    The title and the name of created menu should have filters and localizations too.

    https://www.ads-software.com/plugins/one-click-demo-import/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi,

    thanks for pointing out the localization strings. We will fix this for the next release.

    For other functionality/additions to the plugin please open an issue here: https://github.com/proteusthemes/one-click-demo-import and we can discuss/implement it.

    I’m going to mark this ticket as solved and we can continue the discussion on github. This support forum is for problems with the plugin, I hope you can understand. ??

    Take care!

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi,

    I’ve just updated the plugin to version 1.1.2 .
    I’ve added the filter for the plugin page: pt-ocdi/plugin-page-setup, more info in the FAQ section under How to change the location, title and other parameters of the plugin page?.

    Please test it out and let me know, if everything is working ok…

    Take care!

    Thread Starter David Rozando

    (@daviedr)

    Thanks capuderg, it works perfectly!

    By the way, the filter tag is “pt-ocdi/plugin-page-setup”. I think it’s better if you keep the standard by using “_” instead of “-” like other filters.

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi,

    yup, my mistake, will fix this in the next release.

    Take care!

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi,

    a new version is available (v1.1.3), with a changed name for the filter above (to pt-ocdi/plugin_page_setup).

    Thanks for letting me know about this mistake ??

    Take care!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Filter for menu title string’ is closed to new replies.