get the current page in wordpress code example
Example: wordpress get page
get_post( int|WP_Post|null $post = null, string $output = OBJECT, string $filter = 'raw' )
#from: https://developer.wordpress.org/reference/functions/get_post/
get_post( int|WP_Post|null $post = null, string $output = OBJECT, string $filter = 'raw' )
#from: https://developer.wordpress.org/reference/functions/get_post/