| @@ 1943-1946 (lines=4) @@ | ||
| 1940 | ||
| 1941 | $pod =& $this; |
|
| 1942 | ||
| 1943 | if ( null === $id ) { |
|
| 1944 | $id = $this->id(); |
|
| 1945 | } elseif ( $id != $this->id() ) { |
|
| 1946 | $pod = pods( $this->pod, $id ); |
|
| 1947 | } |
|
| 1948 | ||
| 1949 | $this->do_hook( 'has', $field, $value, $id ); |
|
| @@ 2020-2023 (lines=4) @@ | ||
| 2017 | ||
| 2018 | $pod =& $this; |
|
| 2019 | ||
| 2020 | if ( null === $id ) { |
|
| 2021 | $id = $this->id(); |
|
| 2022 | } elseif ( $id != $this->id() ) { |
|
| 2023 | $pod = pods( $this->pod, $id ); |
|
| 2024 | } |
|
| 2025 | ||
| 2026 | $this->do_hook( 'is', $field, $value, $id ); |
|