get_pagenum(); $per_page = 30; //$installed_plugins = catch_get_installed_plugins(); $args = array( 'page' => $paged, 'per_page' => $per_page, 'fields' => array( 'last_updated' => true, 'icons' => true, 'active_installs' => true ), // Send the locale and installed plugin slugs to the API so it can provide context-sensitive results. 'locale' => get_user_locale(), //'installed_plugins' => array_keys( $installed_plugins ), ); /* From CORE End */ // Add author filter for our plugins $args['author'] = 'catchplugins'; return $args; } add_filter( "install_plugins_table_api_args_catchplugins", 'catchplugins', 1 ); } if( ! function_exists( 'cathcplugins_plugins_table' ) ) { add_action( 'install_plugins_catchplugins', 'cathcplugins_plugins_table' ); function cathcplugins_plugins_table() { global $wp_list_table; printf( '

' . __( 'You can use any of our free plugins or premium plugins from Catch Plugins' ) . '.

', 'https://catchplugins.com/' ); ?>
display(); ?>