update
This commit is contained in:
@@ -41,7 +41,7 @@ abstract class CMB2_Hookup_Base {
|
||||
* @param CMB2 $cmb The CMB2 object to hookup.
|
||||
*/
|
||||
public static function maybe_init_and_hookup( CMB2 $cmb ) {
|
||||
throw new Exception( sprintf( esc_html__( '%1$s should be implemented by the extended class.', 'cmb2' ), __FUNCTION__ ) );
|
||||
throw new Exception( sprintf( esc_html__( '%1$s should be implemented by the extended class.', 'opalestate-pro' ), __FUNCTION__ ) );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -99,7 +99,7 @@ abstract class CMB2_Hookup_Base {
|
||||
case 'cmb':
|
||||
return $this->{$field};
|
||||
default:
|
||||
throw new Exception( sprintf( esc_html__( 'Invalid %1$s property: %2$s', 'cmb2' ), __CLASS__, $field ) );
|
||||
throw new Exception( sprintf( esc_html__( 'Invalid %1$s property: %2$s', 'opalestate-pro' ), __CLASS__, $field ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user