Skip to content

Instantly share code, notes, and snippets.

@bepatrickdavid
Created September 3, 2015 15:21
Show Gist options
  • Save bepatrickdavid/ab5e0f4d1156e9f2ec7c to your computer and use it in GitHub Desktop.
Save bepatrickdavid/ab5e0f4d1156e9f2ec7c to your computer and use it in GitHub Desktop.
WP: unire due get post merge
<?php if($connected): ?>
<?php $result = array_merge( $connected, $documentazioni ); ?>
<?php else: ?>
<?php $result = $documentazioni ?>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment