Support » Plugin: WP Plugin Info » [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 ‘[Plugin: WP Plugin Info] Does it work in sidebar?’ is closed to new replies.