expose ticks through REST API (#7)
Tickers are already exposed for JS integration in Gutenberg. Now ticks themselves are also available for use with external systems.
This commit is contained in:
@ -165,6 +165,7 @@ class SCLiveticker {
|
||||
'supports' => array( 'title', 'editor', 'author' ),
|
||||
'taxonomies' => array( 'scliveticker_ticker' ),
|
||||
'has_archive' => true,
|
||||
'show_in_rest' => true,
|
||||
);
|
||||
|
||||
register_post_type( 'scliveticker_tick', $args );
|
||||
|
Reference in New Issue
Block a user