Skip to main content

get_preview_link_args()

private static function get_preview_link_args( $args )

Get default arguments for the preview link. The toolbar menu generator function requires array data, while other

areas like the form editor and settings pages require filterable button html.

Since: 2.5

Source: common.php:3981

Parameters

NameTypeDefaultDescription
$args

Returns

  • array