Understanding this href reference in Simple Social Media plugin for Genesis theme

I am trying to figure out how a plugin works. The plugin essentially places social media icons into a header file (it is a Genesis themed plugin). At any rate, the plugin’s PHP file has this language:

'email' => array(
    'label'       => __( 'Email URI', 'ssiw' ),
    'pattern'     => '<li class="social-email"><a href="%s" %s>✉</a></li>',

I understand that this is a link but I can’t figure out how to translate it. I thought that it might be a form of PHP argument swapping but researching that topic didn’t really help. Can anyone shed any light on this href call?

Related posts

Leave a Reply

1 comment

  1. Later on in the loading of the application it’s going to leverage the pattern portion of the array and perform string replacement where you see %s. You might see something like this later:

    sprintf(pattern, 'http://www.msn.com');