Filters

Name Params Description
workforce_invoice_title string $id Format invoice number.
workforce_crud_post_types array $post_types Post types for CRUD.
workforce_filters array $filters Custom content filters.
workforce_filters_meta_query array $meta_query WP_Query meta_query values.
workforce_filters_tax_query array $tax_query WP_Query tax_query values.

Adding new post types for CRUD

function mytheme_add_crud_post_type( $post_types ) {
    $post_types[] = 'art';
    return $post_types;
}
add_filter( 'workforce_crud_post_types', 'mytheme_add_crud_post_type' );

results matching ""

    No results matching ""