the_networks WordPress Filter Hook

The the_networks WordPress hook is a great way to get your content shared across social media. This hook allows you to add social media buttons to your posts and pages, so your readers can easily share your content on their favorite networks. You can also use the the_networks hook to display social media follow buttons, so your readers can follow you on social media.

apply_filters_ref_array( 'the_networks', WP_Network[] $_networks, WP_Network_Query $query ) #

Filters the network query results.


Parameters

$_networks

(WP_Network[])An array of WP_Network objects.

$query

(WP_Network_Query)Current instance of WP_Network_Query (passed by reference).


Top ↑

Source

File: wp-includes/class-wp-network-query.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.