get_post_galleries

get_post_galleries

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('get_post_galleries') is found 1 times:

  • /wp-includes/media.php line 5190
    	 *
    	 * @param array   $galleries Associative array of all found post galleries.
    	 * @param WP_Post $post      Post object.
    	 */
    	return apply_filters( 'get_post_galleries', $galleries, $post );
    }
    
    /**
     * Checks a specified post's content for gallery and, if present, return the first
     *
     * @since 3.6.0
    

See this hook used in plugins: