Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nelio_content_custom_placeholders

apply_filters( ‘nelio_content_custom_placeholders’, list<TCustom_Placeholder_Definition> $placeholders, string $type )

List of supported custom placeholders of a post.

Parameters

$placeholders list<TCustom_Placeholder_Definition>

(Required) List of custom objects that can be used as placeholders in the content of social messages.<br> Each item in the array contains key, name, and a callback function to get the value.

$type string

(Required) Post type.

Source

File: includes/helpers/class-nelio-content-post-helper.php

Changelog

Changelog
VersionDescription
2.5.0Introduced.