Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nelio_content_{$network}_featured_image

apply_filters( “nelio_content_{$network}_featured_image”, boolean|string $image, int $post_id )

Sets the exact image that should be used when sharing the post on a certain network.

Parameters

$image boolean|string

(Required) The image that should be used. Default: false (i.e. “none”).

$post_id int

(Required) The post that’s about to be shared.

Source

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

Changelog

Changelog
VersionDescription
1.4.5Introduced.