matthewL-7
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
| Status | Topic | Supporter | Voices | Posts | Freshness |
|---|---|---|---|---|---|
|
Compatibility issue with HappyForms
Started by: matthewL-7 in: Toolset Professional Support |
|
3 | 6 | 4 years, 11 months ago | |
|
Conditional shortcode on an image term field
Started by: matthewL-7 in: Toolset Professional Support |
|
2 | 2 | 4 years, 11 months ago | |
|
Additional CSS loading issue
Started by: matthewL-7 in: Toolset Professional Support |
|
2 | 11 | 4 years, 11 months ago | |
|
Limited field API exposure
Started by: matthewL-7
in: Toolset Professional Support
Problem: Solution:
// This is to enable the filtering at all.
add_filter( 'toolset_rest_run_exposure_filters', '__return_true' );
// exclude "book-additional-notes" custom field from "book" custom post type.
add_filter( 'toolset_rest_expose_field', function(
$expose_field, $domain, $group_slug, $field_slug, $element_type, $element_id
) {
if( 'posts' === $domain && 'book' == $element_type && 'book-additional-notes' == $field_slug ) {
return false;
}
// Different case - do not alter the result.
return $expose_field;
}, 10, 6 );
Relevant Documentation: |
|
2 | 7 | 4 years, 11 months ago | |
|
Custom role being set as author
Started by: matthewL-7 in: Toolset Professional Support |
|
2 | 3 | 4 years, 11 months ago | |
|
Inserting description into Taxonomy archive
Started by: matthewL-7 in: Toolset Professional Support |
|
2 | 3 | 4 years, 11 months ago | |
|
Importing posts
Started by: matthewL-7 in: Toolset Professional Support |
|
2 | 2 | 4 years, 11 months ago |