use WP-functions in path/dir helpers