Created
March 5, 2024 04:23
-
-
Save ian-pvd/f18bd06c34934e72825c788b3b911d31 to your computer and use it in GitHub Desktop.
PVD Industrial Bloginfo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function pvdind_bloginfo() { | |
return [ | |
'name' => get_bloginfo( 'name' ), | |
'description' => get_bloginfo( 'description' ), | |
'wpurl' => get_bloginfo( 'wpurl' ), | |
'url' => get_bloginfo( 'url' ), | |
'admin_email' => get_bloginfo( 'admin_email' ), | |
'charset' => get_bloginfo( 'charset' ), | |
'version' => get_bloginfo( 'version' ), | |
'html_type' => get_bloginfo( 'html_type' ), | |
'language' => get_bloginfo( 'language' ), | |
'stylesheet_url' => get_bloginfo( 'stylesheet_url' ), | |
'stylesheet_directory' => get_bloginfo( 'stylesheet_directory' ), | |
'template_url' => get_bloginfo( 'template_url' ), | |
'pingback_url' => get_bloginfo( 'pingback_url' ), | |
'atom_url' => get_bloginfo( 'atom_url' ), | |
'rdf_url' => get_bloginfo( 'rdf_url' ), | |
'rss_url' => get_bloginfo( 'rss_url' ), | |
'rss2_url' => get_bloginfo( 'rss2_url' ), | |
'comments_atom_url' => get_bloginfo( 'comments_atom_url' ), | |
'comments_rss2_url' => get_bloginfo( 'comments_rss2_url' ), | |
]; | |
} | |
var_dump( pvdind_bloginfo() ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment