WordPress.org

Support

Support » Plugins and Hacks » WP Plugin Info » [Resolved] [Plugin: WP Plugin Info] Does it work in sidebar?

[Resolved] [Plugin: WP Plugin Info] Does it work in sidebar?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Luigi

    @_luigi

    Hi,

    there was an error in the documentation: the first argument is the identifier of the info you want to retrieve ($info_id).

    Your code should look like this:
    Version: <?php wp_plugin_info( 'version', array('plugin_id' => 'facebook') ); ?>

    If you set the constant WPPI_PLUGIN_ID to ‘facebook’, you can omit the second argument.

    It works, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: WP Plugin Info] Does it work in sidebar?’ is closed to new replies.
Skip to toolbar