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).
Source
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |