bp_dd_imported_disabled( string $group, string $import )
Display a disabled attribute for inputs of the particular value was already imported.
Description
Parameters
- $group
-
(Required)
- $import
-
(Required)
Source
File: bp-core/bp-core-tools-default-data.php
function bp_dd_imported_disabled( $group, $import ) {
$group = sanitize_key( $group );
$import = sanitize_key( $import );
if ( ! in_array( $group, array( 'users', 'groups', 'forums' ) ) ) {
echo '';
}
echo bp_dd_is_imported( $group, $import ) ? 'disabled="disabled" checked="checked"' : '';
}
Changelog
| Version | Description |
|---|---|
| BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.