This commit is contained in:
Chung Pham
2020-08-20 17:31:10 +07:00
parent a2415271a9
commit 8851716ddc
34 changed files with 5463 additions and 5035 deletions

View File

@@ -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 ) );
}
}
}