title: How do I include background images url in a wordpress plugin?
body: <p><a href="https://i.stack.imgur.com/XNazg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XNazg.png" alt="enter image description here"></a></p>
  
  <p>This is my wordpress plugin code. How to dynamic background-image URL in a WordPress plugin?</p>
  
  <pre><code>&lt;?php 
  function active_qploader() {?&gt;
      &lt;style type="text/css"&gt; 
          #preloader { 
          position: fixed;
          left: 0;
          top: 0;
          z-index: 999;
          width: 100%;
          height: 100%;
          overflow:visible;
          background-color:#333;
          background-image:url("images/test.png");
          background-repeat:no-repeat;
          background-attachment:center center;
          background-position:center;
       }
      &lt;/style&gt;
  &lt;?php
  }
  </code></pre>