Property value of null when value is assigned inside a method hooked to the wp action hook

Property value of null when value is assigned inside a method hooked to the wp action hook

tech