WordPress.org

Ready to get started?Download WordPress

Forums

WPORG Repo Plugins
[resolved] Limit for number of plugins with Plugin API? (2 posts)

  1. daveshine (David Decker)
    Member
    Posted 1 year ago #

    Hi there!

    That's a really nice plugin for developers here on WP.org! :-)

    My issue is the following:
    I have 25 plugins currently in the repo here but only the most current (updated) 24 plugins are listed - no matter what I tweaked. I also deleted the transient and updated but no change.

    Do you know if the WP.org Plugin API is limited to a number of plugins?
    Or could this also be a server issue on my end? (Can't imagine that...)

    Thanks for any help or tip!
    -Dave :)

    http://wordpress.org/extend/plugins/wporg-repo-plugins/

  2. daveshine (David Decker)
    Member
    Posted 1 year ago #

    Hi again!

    I just found the solution with an answer from @Otto42:

    'per_page' = -1

    has to be added :)

    In your plugin file wporg-repo-plugins.php, line 60 currently has this:

    $api = plugins_api('query_plugins', array('author' => $wporgusername) );

    and changed to this:

    $api = plugins_api('query_plugins', array('author' => $wporgusername, 'per_page' => -1 ) );

    Maybe you could this add to your plugin or make it a new setting parameter within the widget?

    Thanks, Dave :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic