Skip to content

Instantly share code, notes, and snippets.

@theperfectwill
Last active February 24, 2023 09:29
Show Gist options
  • Save theperfectwill/2d9889a4fcf7199a248c7c446f1963fe to your computer and use it in GitHub Desktop.
Save theperfectwill/2d9889a4fcf7199a248c7c446f1963fe to your computer and use it in GitHub Desktop.
before_container_after_container.php
<?php
$this_instance = wponion_builder();
$main_container = $this_instance->container(
'main_container'
);
$container_4 = $this_instance->container(
'container_4'
);
$container_5 = $this_instance->container(
'container_5'
);
// This way?
$this_instance->before_container($main_container, $container_5);
// Or this way?
$main_container->before_container($main_container, $container_5);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment