This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Inside_Layout::add_to_rules( string $display, int $events_no, int $post_id )

Add to the inside rules array.


Parameters

$display

(Required) A type of display ( after_x_headings | after_x_blocks ).

$events_no

(Required) Event occurrence before trigger.

$post_id

(Required) The post id of the custom template to display at that location.


Source

File: includes/modules/custom_layouts/admin/inside_layout.php