Created
June 28, 2014 06:53
-
-
Save dovy/2414ebf4a49209643ca7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( ! function_exists( "RdxIO_add_widgets" ) ): | |
function RdxIO_add_widgets( $widgets ) { | |
$widgets[] = array( | |
'id' => 'testWidget', | |
'title' => 'Test Widget Title', | |
'name' => 'WORK', | |
'desc' => 'This is the description', | |
'fields' => array( | |
array( | |
"id" => 'textTest', | |
'title' => 'Text Test', | |
'subtitle' => 'Text Test Subtitle', | |
'desc' => 'Text Test Description', | |
'type' => 'text' | |
), | |
) | |
); | |
return $widgets; | |
} | |
add_action( 'redux/widgets/rdxIO/widgets', 'RdxIO_add_widgets' ); | |
endif; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment