pfeifferNet

single.php

Functionality for all single posts.

Tags
since
1.0.0
copyright

2024 Keith Pfeiffer

Table of Contents

Functions

filter_related_posts()  : array<string|int, mixed>
Filter the related posts query args to add related post list.

Functions

Filter the related posts query args to add related post list.

filter_related_posts(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
since
5.5.0
uses
Related_Posts::get_ids()
uses
Settings::get()
Return values
array<string|int, mixed>

The (maybe) modified query arguments.


        
On this page

Search results