We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73662c3 commit 5da5f85Copy full SHA for 5da5f85
includes/functions.php
@@ -28,8 +28,9 @@ function wpum_get_pages( $force = false ) {
28
$pages = $transient;
29
} else {
30
$available_pages = get_pages( [
31
- 'post_status' => 'publish,private',
32
- ] );
+ 'post_status' => 'publish,private',
+ 'wpum_restrict_bypass' => true,
33
+ ] );
34
if ( ! empty( $available_pages ) ) {
35
foreach ( $available_pages as $page ) {
36
$pages[] = array(
0 commit comments