sfw/register/sfw-design

Description

Filters the design posttype before registration

Since: 1.0.0

For further information see: register_post_type

Usage

<?php

	function my_sfw_register_sfw_design ( $args ){
		…
		// modify $args here
		…
		return $args;
	}

	add_filter( 'sfw/register/sfw-design', 'my_sfw_register_sfw_design', 10, 1 );

?>

Parameter

$args
(array)

File

core/components/design/design-posttype.php