ACF Table Field Pro Add-on Docs

Rest-API

Schema

$schema = array( 
    '$schema' => 'http://json-schema.org/draft-04/schema#', 
    'title' => 'ACF table_pro custom field type', 
    'type' => array( 'object', 'null' ), 
    'properties' => array( 
        't' => array( 
            'title' => 'Table general storage', 
            'type' => 'object', 
            'properties' => array( 
                'o' => array( 
                    'title' => 'Table options', 
                    'type' => 'object', 
                    'properties' => array( 
                        'ct' => array( 
                            'title' => 'Content type: st/ed', 
                            'type' => 'string', 
                        ), 
                        'tb' => array( 
                            'title' => 'Editor toolbar: full/basic', 
                            'type' => 'string', 
                        ), 
                        'cols' => array( 
                            'title' => 'Amount of columns', 
                            'type' => 'integer', 
                        ), 
                        'rows' => array( 
                            'title' => 'Amount of rows', 
                            'type' => 'integer', 
                        ), 
                        'uf' => array( 
                            'title' => 'Use footer: y/n', 
                            'type' => 'string', 
                        ), 
                        'uh' => array( 
                            'title' => 'Use header: y/n', 
                            'type' => 'string', 
                        ), 
                        'sc' => array( 
                            'title' => 'Use stub column: y/n', 
                            'type' => 'string', 
                        ), 
                        'st' => array( 
                            'title' => 'Style', 
                            'type' => 'string', 
                        ), 
                        'ca' => array( 
                            'title' => 'Table caption value', 
                            'type' => 'string', 
                        ), 
                        'changed' => array( 
                            'title' => 'Use stub column: y/n', 
                            'type' => 'boolean', 
                        ), 
                    ), 
                ), 
            ), 
        ), 
        'c' => array( 
            'title' => 'Table columns row', 
            'type' => 'array', 
            'items' => array( 
                'type' => 'object', 
                'properties' => array( 
                    'c' => array( 
                        'title' => 'Table colums', 
                        'type' => 'array', 
                        'items' => array( 
                            'type' => 'object', 
                            'properties' => array( 
                                'c' => array( 
                                    'title' => 'Do not use', 
                                    'type' => 'string', 
                                ), 
                                'o' => array( 
                                    'title' => 'Column options', 
                                    'type' => 'object', 
                                    'properties' => array( 
                                        'st' => array( 
                                            'title' => 'Columns style', 
                                            'type' => 'string', 
                                        ), 
                                        'ct' => array( 
                                            'title' => 'Content type: st/ed', 
                                            'type' => 'string', 
                                        ), 
                                        'tb' => array( 
                                            'title' => 'Editor toolbar: full/basic', 
                                            'type' => 'string', 
                                        ), 
                                        'acwv' => array( 
                                            'title' => 'Admin column width value', 
                                            'type' => 'string', 
                                        ), 
                                        'acmiwv' => array( 
                                            'title' => 'Admin column min width value', 
                                            'type' => 'string', 
                                        ), 
                                    ), 
                                ), 
                            ), 
                        ), 
                    ), 
                ), 
            ), 
        ), 
        'b' => array( 
            'title' => 'Table body rows', 
            'type' => 'array', 
            'items' => array( 
                'title' => 'Table body row', 
                'type' => 'object', 
                'properties' => array( 
                    'c' => array( 
                        'title' => 'Table body cells', 
                        'type' => 'array', 
                        'items' => array( 
                            'title' => 'Table body cell', 
                            'type' => 'object', 
                            'properties' => array( 
                                'c' => array( 
                                    'title' => 'Body cell content', 
                                    'type' => 'string', 
                                ), 
                                'o' => array( 
                                    'title' => 'Body cell options', 
                                    'type' => 'object', 
                                    'properties' => array( 
                                        'ct' => array( 
                                            'title' => 'Content type: st/ed', 
                                            'type' => 'string', 
                                        ), 
                                        'tb' => array( 
                                            'title' => 'Editor toolbar: full/basic', 
                                            'type' => 'string', 
                                        ), 
                                        'st' => array( 
                                            'title' => 'Columns style', 
                                            'type' => 'string', 
                                        ), 
                                        'rs' => array( 
                                            'title' => 'Rowspan', 
                                            'type' => 'integer', 
                                        ), 
                                        'cs' => array( 
                                            'title' => 'Colspan', 
                                            'type' => 'integer', 
                                        ), 
                                        'hs' => array( 
                                            'title' => 'Has span', 
                                            'type' => 'object', 
                                            'properties' => array( 
                                                'c' => array( 
                                                    'title' => 'Column of spanning cell', 
                                                    'type' => 'integer', 
                                                ), 
                                                'r' => array( 
                                                    'title' => 'Row of spanning cell', 
                                                    'type' => 'integer', 
                                                ), 
                                                'rs' => array( 
                                                    'title' => 'Rowspan of spanning cell', 
                                                    'type' => 'integer', 
                                                ), 
                                                'cs' => array( 
                                                    'title' => 'Columnspan of spanning cell', 
                                                    'type' => 'integer', 
                                                ), 
                                            ) 
                                        ), 
                                    ), 
                                ), 
                            ), 
                        ), 
                    ), 
                    'o' => array( 
                        'title' => 'Row options', 
                        'type' => 'object', 
                        'properties' => array( 
                            'ct' => array( 
                                'title' => 'Content type: st/ed', 
                                'type' => 'string', 
                            ), 
                            'tb' => array( 
                                'title' => 'Editor toolbar: full/basic', 
                                'type' => 'string', 
                            ), 
                            'st' => array( 
                                'title' => 'Style', 
                                'type' => 'string', 
                            ), 
                        ), 
                    ), 
                ), 
            ), 
        ), 
        'h' => array( 
            'title' => 'Table header rows', 
            'type' => 'array', 
            'items' => array( 
                'type' => 'object', 
                'properties' => array( 
                    'c' => array( 
                        'title' => 'Header row cells', 
                        'type' => 'array', 
                        'items' => array( 
                            'type' => 'object', 
                            'properties' => array( 
                                'c' => array( 
                                    'title' => 'Header cell content', 
                                    'type' => 'string', 
                                ), 
                                'o' => array( 
                                    'title' => 'Header cell options', 
                                    'type' => 'object', 
                                    'properties' => array( 
                                        'ct' => array( 
                                            'title' => 'Content type: st/ed', 
                                            'type' => 'string', 
                                        ), 
                                        'tb' => array( 
                                            'title' => 'Editor toolbar: full/basic', 
                                            'type' => 'string', 
                                        ), 
                                        'st' => array( 
                                            'title' => 'Columns style', 
                                            'type' => 'string', 
                                        ), 
                                        'cs' => array( 
                                            'title' => 'Colspan', 
                                            'type' => 'integer', 
                                        ), 
                                        'hs' => array( 
                                            'title' => 'Has span', 
                                            'type' => 'object', 
                                            'properties' => array( 
                                                'c' => array( 
                                                    'title' => 'Column of spanning cell', 
                                                    'type' => 'integer', 
                                                ), 
                                                'r' => array( 
                                                    'title' => 'Row of spanning cell', 
                                                    'type' => 'integer', 
                                                ), 
                                                'cs' => array( 
                                                    'title' => 'Columnspan of spanning cell', 
                                                    'type' => 'integer', 
                                                ), 
                                            ) 
                                        ), 
                                    ), 
                                ), 
                            ), 
                        ), 
                    ), 
                    'o' => array( 
                        'title' => 'Table header row options', 
                        'type' => 'object', 
                        'properties' => array( 
                            'ct' => array( 
                                'title' => 'Content type: st/ed', 
                                'type' => 'string', 
                            ), 
                            'tb' => array( 
                                'title' => 'Editor toolbar: full/basic', 
                                'type' => 'string', 
                            ), 
                            'st' => array( 
                                'title' => 'Columns style', 
                                'type' => 'string', 
                            ), 
                        ), 
                    ), 
                ), 
            ), 
        ), 
        'f' => array( 
            'title' => 'Table footer rows', 
            'type' => 'array', 
            'items' => array( 
                'type' => 'object', 
                'properties' => array( 
                    'c' => array( 
                        'title' => 'Footer row cells', 
                        'type' => 'array', 
                        'items' => array( 
                            'type' => 'object', 
                            'properties' => array( 
                                'c' => array( 
                                    'title' => 'Footer cell content', 
                                    'type' => 'string', 
                                ), 
                                'o' => array( 
                                    'title' => 'Footer cell options', 
                                    'type' => 'object', 
                                    'properties' => array( 
                                        'ct' => array( 
                                            'title' => 'Content type: st/ed', 
                                            'type' => 'string', 
                                        ), 
                                        'tb' => array( 
                                            'title' => 'Editor toolbar: full/basic', 
                                            'type' => 'string', 
                                        ), 
                                        'st' => array( 
                                            'title' => 'Columns style', 
                                            'type' => 'string', 
                                        ), 
                                        'cs' => array( 
                                            'title' => 'Colspan', 
                                            'type' => 'integer', 
                                        ), 
                                        'hs' => array( 
                                            'title' => 'Has span', 
                                            'type' => 'object', 
                                            'properties' => array( 
                                                'c' => array( 
                                                    'title' => 'Column of spanning cell', 
                                                    'type' => 'integer', 
                                                ), 
                                                'r' => array( 
                                                    'title' => 'Row of spanning cell', 
                                                    'type' => 'integer', 
                                                ), 
                                                'cs' => array( 
                                                    'title' => 'Columnspan of spanning cell', 
                                                    'type' => 'integer', 
                                                ), 
                                            ) 
                                        ), 
                                    ), 
                                ), 
                            ), 
                        ), 
                    ), 
                    'o' => array( 
                        'title' => 'Table header row options', 
                        'type' => 'object', 
                        'properties' => array( 
                            'ct' => array( 
                                'title' => 'Content type: st/ed', 
                                'type' => 'string', 
                            ), 
                            'tb' => array( 
                                'title' => 'Editor toolbar: full/basic', 
                                'type' => 'string', 
                            ), 
                            'st' => array( 
                                'title' => 'Columns style', 
                                'type' => 'string', 
                            ), 
                        ), 
                    ), 
                ), 
            ), 
        ), 
        'p' => array( 
            'title' => 'Field parameter', 
            'type' => 'object', 
            'properties' => array( 
                'v' => array( 
                    'title' => 'Plugin version', 
                    'type' => 'string', 
                ), 
                'fk' => array( 
                    'title' => 'Field key', 
                    'type' => 'string', 
                ), 
                'fk' => array( 
                    'title' => 'Field name', 
                    'type' => 'string', 
                ), 
            ), 
        ), 
    ), 
);

Previous and Next Sources

Parent sources

Parent sources

On this page