Title: php function
Last modified: December 2, 2018

---

# php function

 *  Resolved [ogre2000](https://wordpress.org/support/users/ogre2000/)
 * (@ogre2000)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/php-function-10/)
 * Hi.
    How to use Your plugin as php function. I would like to embed photo gallery
   below the body of article using custom fields.

Viewing 1 replies (of 1 total)

 *  Plugin Author [pavex](https://wordpress.org/support/users/pavex/)
 * (@pavex)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/php-function-10/#post-10969205)
 * Hi Ogre, try update to 2.0.7 and use folloving code:
 *     ```
       <?php
       	echo (new Pavex_embed_google_photos_album()) -> getcode(
       		'https://photos.app.goo.gl/CSV7NDstShTUwUZq5', 0, 480, 1920, 1080
       	);
       ?>
       ```
   
    -  This reply was modified 7 years, 6 months ago by [pavex](https://wordpress.org/support/users/pavex/).

Viewing 1 replies (of 1 total)

The topic ‘php function’ is closed to new replies.

 * ![](https://ps.w.org/embed-google-photos-album-easily/assets/icon-256x256.png?
   rev=1922450)
 * [Embed Google Photos album](https://wordpress.org/plugins/embed-google-photos-album-easily/)
 * [Support Threads](https://wordpress.org/support/plugin/embed-google-photos-album-easily/)
 * [Active Topics](https://wordpress.org/support/plugin/embed-google-photos-album-easily/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/embed-google-photos-album-easily/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/embed-google-photos-album-easily/reviews/)

## Tags

 * [function](https://wordpress.org/support/topic-tag/function/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [pavex](https://wordpress.org/support/users/pavex/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/php-function-10/#post-10969205)
 * Status: resolved