MCPcopy Create free account
hub / github.com/EqualifyEverything/equalify / get_current_page_number

Function get_current_page_number

models/view_components.php:186–198  ·  view source on GitHub ↗

* Get Page Number */

()

Source from the content-addressed store, hash-verified

184 * Get Page Number
185 */
186function get_current_page_number(){
187
188 // Pull page number from URL string.
189 if (isset($_GET['current_page_number'])) {
190 $current_page_number = $_GET['current_page_number'];
191 } else {
192 $current_page_number = 1;
193 }
194
195 // Return page
196 return $current_page_number;
197
198}
199
200/**
201 * The Pagination

Callers 4

sites.phpFile · 0.85
reports.phpFile · 0.85
the_paginationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected