refactoring wp-node
updating the getters for wp_node