pfeifferNet

singular.php

Functionality for all single posts or pages.

Tags
since
1.0.0
copyright

2024 Keith Pfeiffer

Table of Contents

Functions

filter_query_loop_args()  : array<string|int, mixed>
Filter the selected query loop args for specific views.

Functions

filter_query_loop_args()

Filter the selected query loop args for specific views.

filter_query_loop_args(array<string|int, mixed> $qv, array<string|int, mixed> $attributes) : array<string|int, mixed>
Parameters
$qv : array<string|int, mixed>

The WP_Query args.

$attributes : array<string|int, mixed>

The Generateblocks Query Loop block attributes.

Tags
todo

#99 Change if/elseif to a switch statement in singular.php

since
5.6.0
uses
Highest_Rated::get_post_ids()
uses
Most_Viewed::get_post_ids()
uses
User_Favourites::get_post_ids()
Return values
array<string|int, mixed>

The (maybe) modified query arguments.


        
On this page

Search results