floorplan_get_data(
int $floorplan_id );
Retrieves the floorplan data from the post.
Parameters
- $floorplan_id
- (int) The floorplan ID.
Return
- (array)
Source
floorplans/includes/class‑floorplans.php
More Information
Not technically a WordPress filter, however this function can be used in your code to retrieve all available data of any floor plan. This code should be implemented in PHP. For extra guidance, please see WPBeginner’s tutorial on adding custom code.
Example
// assuming you want to retrieve data from floorplan with post id 46
$my_data = floorplan_get_data( 46 );