File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ abstract class Field {
105105 *
106106 * @var string
107107 */
108- protected $ translations ;
108+ protected $ translations = ' translate ' ;
109109
110110 /**
111111 * Filters and actions to be hooked.
@@ -735,19 +735,19 @@ public function get_default_value() {
735735 }
736736
737737 /**
738- * Set translation option for the field.
738+ * Set translation for the field.
739739 *
740740 * @param string $translations Type of translation.
741741 * @return self
742742 */
743- public function set_translations ( $ translations ) {
743+ public function set_translations ( string $ translations ) {
744744 $ this ->translations = $ translations ;
745745
746746 return $ this ;
747747 }
748748
749749 /**
750- * Get translation option of the field.
750+ * Get the default value of the field.
751751 *
752752 * @return mixed
753753 */
You can’t perform that action at this time.
0 commit comments