$prop ) { ?> call_plugin_api( $plugin ); $icon = $this->check_for_icon( $info->icons ); $active = $this->check_active( $plugin , $prop['plugin-file']); $url = $this->create_action_link( $active['needs'], $plugin ); $label = ''; //var_dump($active); switch ( $active['needs'] ) { case 'install': $class = 'install-now button'; $label = __( 'Install', 'bumbeelbee' ); break; case 'activate': $class = 'activate-now button button-primary'; $label = __( 'Activate', 'bumbeelbee' ); break; case 'deactivate': $class = 'deactivate-now button'; $label = __( 'Deactivate', 'bumbeelbee' ); break; } if ( ! empty( $prop['tracking_url'] ) ) { $url = $prop['tracking_url']; $class = 'button'; $label = __( 'Install', 'bumbeelbee' ); } ?>
plugin box image version ) ?> | author ) ?>
name ); ?>
class="" href="">