Cp_Plgn_Drctry_Cp_Api

Trait to get Plugins from the CP API.

Description

Adds functions for: Get all pages from the CP Dir API Get Plugins from the CP Dir API

Tags
author

Beda Schmid beda@tukutoi.com

Table of Contents

get_cp_pages()  : array<string|int, mixed>
Build an array of Pages of the GitHub Results.
get_cp_plugins()  : array<string|int, mixed>
Retrieve all plugins from the CP API.

Methods

get_cp_pages()

Build an array of Pages of the GitHub Results.

private get_cp_pages() : array<string|int, mixed>
Return
(array<string|int, mixed>) $pages The found page numbers in array.

get_cp_plugins()

Retrieve all plugins from the CP API.

private get_cp_plugins() : array<string|int, mixed>
Return
(array<string|int, mixed>) $all_cp_plugins An array of all plugins objects.

Search results